Search in sources :

Example 1 with AddHostCmd

use of com.cloud.api.command.admin.host.AddHostCmd in project cosmic by MissionCriticalCloud.

the class AddHostCmdTest method setUp.

@Override
@Before
public void setUp() {
    resourceService = Mockito.mock(ResourceService.class);
    responseGenerator = Mockito.mock(ResponseGenerator.class);
    addHostCmd = new AddHostCmd() {
    };
}
Also used : ResponseGenerator(com.cloud.api.ResponseGenerator) ResourceService(com.cloud.resource.ResourceService) AddHostCmd(com.cloud.api.command.admin.host.AddHostCmd) Before(org.junit.Before)

Aggregations

ResponseGenerator (com.cloud.api.ResponseGenerator)1 AddHostCmd (com.cloud.api.command.admin.host.AddHostCmd)1 ResourceService (com.cloud.resource.ResourceService)1 Before (org.junit.Before)1