Search in sources :

Example 1 with UpdateHostPasswordCmd

use of org.apache.cloudstack.api.command.admin.host.UpdateHostPasswordCmd in project cloudstack by apache.

the class UpdateHostPasswordCmdTest method setUp.

@Override
@Before
public void setUp() {
    responseGenerator = Mockito.mock(ResponseGenerator.class);
    managementServer = Mockito.mock(ManagementService.class);
    resourceService = Mockito.mock(ResourceService.class);
    updateHostPasswordCmd = new UpdateHostPasswordCmd();
}
Also used : ManagementService(com.cloud.server.ManagementService) ResponseGenerator(org.apache.cloudstack.api.ResponseGenerator) ResourceService(com.cloud.resource.ResourceService) UpdateHostPasswordCmd(org.apache.cloudstack.api.command.admin.host.UpdateHostPasswordCmd) Before(org.junit.Before)

Aggregations

ResourceService (com.cloud.resource.ResourceService)1 ManagementService (com.cloud.server.ManagementService)1 ResponseGenerator (org.apache.cloudstack.api.ResponseGenerator)1 UpdateHostPasswordCmd (org.apache.cloudstack.api.command.admin.host.UpdateHostPasswordCmd)1 Before (org.junit.Before)1