Use a factory to create objects your test depends on.