1 myInterface.logMessage ("Starting test"); 2 3 myInterface.logMessage ("Testing properties:"); 4 myInterface.logMessage (" myInterface.doubleValue = " + myInterface.doubleValue); 5 myInterface.logMessage (" myInterface.intValue = " + myInterface.intValue); 6 myInterface.logMessage (" myInterface.stringValue = " + myInterface.stringValue); 7 myInterface.logMessage (" myInterface.booleanValue = " + myInterface.booleanValue); 8 myInterface.logMessage (" myInterface.nullValue = " + myInterface.nullValue); 9 myInterface.logMessage (" myInterface.undefinedValue = " + myInterface.undefinedValue); 10 11 myInterface.logMessage ("Testing methods:"); 12 myInterface.logMessage (" myInterface.setDoubleValue(1234.1234) = " + myInterface.setDoubleValue(1234.1234)); 13 myInterface.logMessage (" myInterface.setIntValue(5678) = " + myInterface.setIntValue(5678)); 14 myInterface.logMessage (" myInterface.setStringValue(Goodbye) = " + myInterface.setStringValue('Goodbye')); 15 myInterface.logMessage (" myInterface.setBooleanValue(false) = " + myInterface.setBooleanValue(false)); 16 17 myInterface.logMessage ("Value of properties after calling setters:"); 18 myInterface.logMessage (" myInterface.getDoubleValue() = " + myInterface.getDoubleValue()); 19 myInterface.logMessage (" myInterface.getIntValue() = " + myInterface.getIntValue()); 20 myInterface.logMessage (" myInterface.getStringValue() = " + myInterface.getStringValue()); 21 myInterface.logMessage (" myInterface.getBooleanValue() = " + myInterface.getBooleanValue()); 22