示例#1
0
 public void ValidateWithSchema_InvalidHyperVolume_ExceptionThrown()
 {
     Assert.That(
         () => HyperVolumeConfiguration.ValidateWithSchema(Resource.invalid_hv),
         Throws.TypeOf <XmlSchemaValidationException>());
 }
示例#2
0
 public void ValidateWithSchema_ValidHyperVolume_NoExceptionThrown()
 {
     Assert.That(
         () => HyperVolumeConfiguration.ValidateWithSchema(Resource.test_hv),
         Throws.Nothing);
 }