Search in sources :

Example 6 with FakeProduction

use of limelight.model.FakeProduction in project limelight by slagyr.

the class OpenCommandTest method riggerGetOpened.

@Test
public void riggerGetOpened() throws Exception {
    final FakeProduction production = new FakeProduction();
    studio.stubUtilitiesProduction(production);
    command.execute("-r", "/path");
    assertEquals("/path", studio.openedProduction);
    assertEquals("openRigger", production.lastMethodCalled);
}
Also used : FakeProduction(limelight.model.FakeProduction) Test(org.junit.Test)

Aggregations

FakeProduction (limelight.model.FakeProduction)6 Before (org.junit.Before)3 Test (org.junit.Test)3 FakePlayerRecruiter (limelight.model.api.FakePlayerRecruiter)2 FakePropProxy (limelight.model.api.FakePropProxy)2 BufferedImage (java.awt.image.BufferedImage)1 Panel (limelight.ui.Panel)1 FakeScene (limelight.ui.model.FakeScene)1 PropPanel (limelight.ui.model.PropPanel)1 MockEventAction (limelight.ui.model.inputs.MockEventAction)1 ScrollBarPanel (limelight.ui.model.inputs.ScrollBarPanel)1