Search in sources :

Example 31 with AuditCommand

use of org.asqatasun.service.command.AuditCommand in project Asqatasun by Asqatasun.

the class AuditServiceThreadImplTest method testAdaptContent.

/**
     * Test of adaptContent method, of class AuditServiceThreadImpl.
     */
public void testAdaptContent() {
    System.out.println("adaptContent");
    AuditCommand mockAuditCommand = createMock(AuditCommand.class);
    mockAuditCommand.adaptContent();
    expectLastCall().once();
    replay(mockAuditCommand);
    AuditServiceThreadImpl instance = initialiseAuditServiceThread(mockAuditCommand);
    instance.adaptContent();
    verify(mockAuditCommand);
}
Also used : AuditCommand(org.asqatasun.service.command.AuditCommand)

Aggregations

AuditCommand (org.asqatasun.service.command.AuditCommand)31 Audit (org.asqatasun.entity.audit.Audit)7 AuditCommandFactory (org.asqatasun.service.command.factory.AuditCommandFactory)5 Parameter (org.asqatasun.entity.parameterization.Parameter)4 ArrayList (java.util.ArrayList)1