public void FreezeUnseededWithNullFixtureThrows() { // Arrange // Act & assert Assert.Throws <ArgumentNullException>(() => FixtureFreezer.Freeze <object>(null)); }
public void FreezeUnseededWithNullFixtureThrows() { // Fixture setup // Exercise system and verify outcome Assert.Throws <ArgumentNullException>(() => FixtureFreezer.Freeze <object>(null)); // Teardown }
public void FreezeCustomWithNullFixtureThrows() { // Arrange Func <ICustomizationComposer <object>, ISpecimenBuilder> dummyTransform = c => c; // Act & assert Assert.Throws <ArgumentNullException>(() => FixtureFreezer.Freeze <object>(null, dummyTransform)); }
public void FreezeCustomWithNullFixtureThrows() { // Fixture setup Func <ICustomizationComposer <object>, ISpecimenBuilder> dummyTransform = c => c; // Exercise system and verify outcome Assert.Throws <ArgumentNullException>(() => FixtureFreezer.Freeze <object>(null, dummyTransform)); // Teardown }