// no clipboard
assertNull(creationSupport.getImplicitClipboard());
}
// check variable
{
ImplicitLayoutVariableSupport variableSupport =
(ImplicitLayoutVariableSupport) layout.getVariableSupport();
assertTrue(variableSupport.isDefault());
assertEquals("implicit-layout", variableSupport.toString());
assertEquals("(implicit layout)", variableSupport.getTitle());
// name
assertFalse(variableSupport.hasName());
try {
variableSupport.getName();
fail();
} catch (IllegalStateException e) {
}
try {
variableSupport.setName("foo");
fail();
} catch (IllegalStateException e) {
}
// conversion
assertFalse(variableSupport.canConvertLocalToField());
try {
variableSupport.convertLocalToField();
fail();
} catch (IllegalStateException e) {
}
assertFalse(variableSupport.canConvertFieldToLocal());
try {
variableSupport.convertFieldToLocal();
fail();
} catch (IllegalStateException e) {
}
}
// check association