@Test
public void testOneLineReplacement() throws Exception {

    String[] input = new String[]{"replaceme", "test", "message", ""};
    String[] output = new String[]{"PASS", "test", "message", ""};
    signChangeEvent = new SignChangeEvent(mockBlock, mockPlayer,
            input.clone());
    signListener.loadRuleChain("replace.txt");
    signListener.onSignChange(signChangeEvent);
    String[] changedLines = signChangeEvent.getLines();
    for (int i = 0; i < 4; i++) {
        assertEquals(output[i], changedLines[i]);
    }
}