source: class TextPrinterTest {
  
      @Test
      public void testPrintAlignment() throws Exception {
  
target:         //Before
          final Printer printer = TextPrinterBuilder
                  .aPrinterBuilder()
                  .withGeneralControlSequence( Alignment.LEFT )
                  .buildPrinter( "test" );
  
          //When
          final byte[] command = printer.getCommand();
  
          //Then
          Assert.assertEquals( "[27, 97, 0, 116, 101, 115, 116, 10, 0]", Arrays.toString( command ) );
  
      }
  
  }