Package limelight.model.events

Examples of limelight.model.events.ProductionClosedEvent


    FakeProduction production1 = new FakeProduction("One");
    FakeProduction production2 = new FakeProduction("Two");
    add(production1);
    add(production2);

    new ProductionClosedEvent().dispatch(production1);

    assertEquals(null, studio.get("One"));
    assertEquals(1, studio.getProductions().size());
  }
View Full Code Here


  public void shouldShutdownWhenLastProductionIsClosed() throws Exception
  {
    FakeProduction production = new FakeProduction("Max");
    add(production);

    new ProductionClosedEvent().dispatch(production);

    assertEquals(true, context.wasShutdown);
  }
View Full Code Here

TOP

Related Classes of limelight.model.events.ProductionClosedEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.