@Test
public void runIfUnlockMonitor() throws Exception {

    final Variable var = EmptyVariable.INSTANCE;
    guard.setSatisfied(true);
    expect(mockProcessor.run(eq(mockContext)))
        .andReturn(var);
    EasyMockUnitils.replay();
    final Variable result = controller.run(mockContext);
    assertNotNull("Result variable is null.", result);
    assertSame("Unexpected variable.", result, var);
}