/** Test of createFor method, of class JobConfigHistoryActionFactory. */
 @Test
 public void testCreateForWithAction() {
   final List<JobConfigHistoryProjectAction> actionList =
       Arrays.asList(mock(JobConfigHistoryProjectAction.class));
   when(mockedTarget.getActions(JobConfigHistoryProjectAction.class)).thenReturn(actionList);
   JobConfigHistoryActionFactory sut = new JobConfigHistoryActionFactory();
   Collection<? extends Action> result = sut.createFor(mockedTarget);
   assertEquals(1, result.size());
   assertNotEquals(actionList, result);
 }
 /** Test of createFor method, of class JobConfigHistoryActionFactory. */
 @Test
 public void testCreateFor() {
   JobConfigHistoryActionFactory sut = new JobConfigHistoryActionFactory();
   Collection<? extends Action> result = sut.createFor(mockedTarget);
   assertEquals(1, result.size());
 }