@Test
public void testQuote() {

  final LoggingEvent event = createMessageEvent("This message contains \" quotes");
  assertTrue(this.layout.format(event).equals("This message contains \\\" quotes"));
}