public void will_handle_subclasses_of_NJasmineFixture() { var sut = new NJasmineSuiteBuilder(); expect(() => sut.CanBuildFrom(typeof(SomeNestedClass))); expect(() => sut.CanBuildFrom(typeof(SampleTest))); }
public void will_not_handle_nonpublic_subclasses_of_NJasmineFixture() { var sut = new NJasmineSuiteBuilder(); expect(() => !sut.CanBuildFrom(typeof(ANonpublicFixture))); }
public void will_not_build_abstract_classes() { var sut = new NJasmineSuiteBuilder(); expect(() => !sut.CanBuildFrom(typeof(SomeAbstractClass))); }
public void doesnt_handle_most_test_fixtures() { var sut = new NJasmineSuiteBuilder(); expect(() => !sut.CanBuildFrom(typeof(Object))); }