public void GetSection_WithNoValidSection_ShouldNotBeNull() { var sut = new SectionExtractor(); var section = sut.GetSection<string>("connectionStrings"); section.ShouldBeNull(); }
public void GetSection_WithNonExistingSection_ShouldNotBeNull() { var sut = new SectionExtractor(); var section = sut.GetSection<ConnectionStringsSection>("connectionStrings2"); section.ShouldBeNull(); }