@Test public void testGetFloatThroughString() { StubBehaviour b = new StubBehaviour("bml1"); b.readXML("<stubbehaviour " + TestUtil.getDefNS() + "id=\"beh1\"/>"); assertEquals(1, Float.parseFloat(b.getStringParameterValue("test")), PRECISION); }