コード例 #1
0
 public void Package_ShouldReturnNull_When_NotInitialized()
 {
     using (var config = new ValidatedGraphConfig())
     {
         Assert.IsNull(config.Package());
     }
 }
コード例 #2
0
 public void Package_ShouldReturnNull_When_TheNamespaceIsNotSet()
 {
     using (var config = new ValidatedGraphConfig())
     {
         config.Initialize(CalculatorGraphConfig.Parser.ParseFromTextFormat(_PassThroughConfigText)).AssertOk();
         Assert.IsNull(config.Package());
     }
 }