blob: 23d718832a094d868ddecfc8d567b40b9d31e66f [file] [log] [blame]
/**
* See LICENSE file in distribution for copyright and licensing information.
*/
package org.yaml.snakeyaml.nodes;
import junit.framework.TestCase;
public class MappingNodeTest extends TestCase {
public void testNullValue() {
try {
new MappingNode("!tag", null, null, null, false);
fail("Value is required.");
} catch (Exception e) {
assertEquals("value in a Node is required.", e.getMessage());
}
}
}