public void Deserialize_EnvironmentVariableAndRawValueBothSupplied_ReportsWarning() { // Arrange var node = YamlUtils.CreateYamlNode( @"rawValue: 123 environmentVariable: PROMITOR_SECRET"); // Act / Assert YamlAssert.ReportsWarning( _deserializer, node, node, "Secret with environment variable 'PROMITOR_SECRET' also has a rawValue provided."); }