public void testNonIntegerDouble() {
ModelNode val = new ModelNode(1.1d);
Assert.assertTrue(testee.rejectAttribute(PathAddress.EMPTY_ADDRESS, "foo", val, null));
testee.convertAttribute(PathAddress.EMPTY_ADDRESS, "foo", val, null);
Assert.assertEquals(ModelType.DOUBLE, val.getType());
Assert.assertEquals(1.1d, val.asDouble(), 0.0d);
}
@Test
public void testUndefined() {
ModelNode val = new ModelNode();