@Test(expected = AecuException.class)
public void doAction_textPresentDoesNotMatch() throws AecuException, IOException {

    when(out.toString()).thenReturn("1111");
    actionSpy.doAction(resource);
}