public class DSLSentenceTest {
@Test
public void testSentence() {
final DSLSentence sen = new DSLSentence();
sen.setDefinition( "this is {something} here and {here}" );
assertEquals( "this is {something} here and {here}",
sen.toString() );
sen.setDefinition( "foo bar" );
assertEquals( "foo bar",
sen.toString() );
final DSLSentence newOne = sen.copy();
assertFalse( newOne == sen );
assertEquals( newOne.getDefinition(),
sen.getDefinition() );
assertEquals( newOne.getValues(),
sen.getValues() );
}