GraphUnit getting a private constructor