public void FreezeSeededWithNullFixtureThrows() { // Arrange var dummySeed = new object(); // Act & assert Assert.Throws <ArgumentNullException>(() => FreezeSeedExtensions.Freeze <object>(null, dummySeed)); }
public void FreezeSeededWithNullFixtureThrows() { // Fixture setup var dummySeed = new object(); // Exercise system and verify outcome Assert.Throws <ArgumentNullException>(() => FreezeSeedExtensions.Freeze <object>(null, dummySeed)); // Teardown }