public void BuildTypeThrowsExceptionWithNullType() { var sut = new BuildTypeWrapper(); Action action = () => sut.RunTest(); action.Should().Throw <ArgumentNullException>(); }
public void BuildTypeThrowsExceptionWhenNotInitialized() { var type = typeof(Person); var sut = new BuildTypeWrapper(); Action action = () => sut.RunTest(type); action.Should().Throw <BuildException>(); }