@@ -0,0 +1,1124 @@
+/**%0A * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies%0A * %0A * Please see distribution for license.%0A */%0Apackage com.opengamma.engine.exec;%0A%0Aimport static org.testng.Assert.assertEquals;%0A%0Aimport org.mockito.Mockito;%0Aimport org.testng.annotations.Test;%0A%0Aimport com.opengamma.engine.view.cycle.SingleComputationCycle;%0Aimport com.opengamma.util.test.TestGroup;%0A%0A/**%0A * Tests the %7B@link BatchExecutorFactory%7D class%0A */%0A@Test(groups = TestGroup.UNIT)%0Apublic class BatchExecutorFactoryTest %7B%0A%0A  public void testCreateExecutor() %7B%0A    final BatchExecutorFactory factory = new BatchExecutorFactory(new SingleNodeExecutorFactory());%0A    final SingleComputationCycle cycle = Mockito.mock(SingleComputationCycle.class);%0A    final DependencyGraphExecutor executor = factory.createExecutor(cycle);%0A    assertEquals(executor.getClass(), BatchExecutor.class);%0A  %7D%0A%0A  public void testToString() %7B%0A    final BatchExecutorFactory factory = new BatchExecutorFactory(new SingleNodeExecutorFactory());%0A    assertEquals(factory.toString(), %22BatchExecutorFactory delegating to SingleNodeExecutorFactory%22);%0A  %7D%0A%0A%7D%0A

Increase test coverage of package