use of org.cloudfoundry.credhub.data.CredentialVersionDataService in project credhub by cloudfoundry-incubator.
the class KeyUsageControllerTest method beforeEach.
@Before
public void beforeEach() {
credentialVersionDataService = mock(CredentialVersionDataService.class);
keySet = new EncryptionKeySet();
encryptionKeyCanaryDataService = mock(EncryptionKeyCanaryDataService.class);
final KeyUsageController keyUsageController = new KeyUsageController(credentialVersionDataService, keySet);
mockMvc = MockMvcBuilders.standaloneSetup(keyUsageController).alwaysDo(print()).build();
}
Aggregations