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