use of org.cloudfoundry.credhub.service.EncryptionKeySet 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