@Test
public void testPropertyInjectionFloat_tct031() {
logger.debug("Testing injected properties setting for float, using the API");
Instance instanceS1 = waitForInstByName(null, "instance-s1-tct026");
Implems1tct026 objectS1 = (Implems1tct026)instanceS1.getServiceObject();
instanceS1.setProperty("prop-injboth", new Float(10.12));
testPropertyGetFloat(instanceS1, "prop-injboth", (float) 10.12);
Assert.assertEquals("Incorrect float value ",
Float.valueOf((float)10.12),
objectS1.getInjboth());
instanceS1.setProperty("prop-injexternal", new Float(10.12));
testPropertyGetFloat(instanceS1, "prop-injexternal", (float) 10.12);
Assert.assertEquals("Incorrect float value ",
Float.valueOf((float)10.12),
objectS1.getInjexternal());
logger.debug("Testing injected properties setting for float, using java");
objectS1.setInjboth((float)77.88);
testPropertyGetFloat(instanceS1, "prop-injboth", (float) 77.88);
Assert.assertEquals("Incorrect float value ",
Float.valueOf((float)77.88),
objectS1.getInjboth());
objectS1.setInjinternal((float)88.99);
testPropertyGetFloat(instanceS1, "prop-injinternal", (float) 88.99);
Assert.assertEquals("Incorrect float value ",
Float.valueOf((float)88.99),
objectS1.getInjinternal());
}