OrganizationResourceLockKeyProvider implements ResourceLockKeyProvider { @Override public String getAccountType() { return OrganizationImpl.ORGANIZATIONAL_ACCOUNT; } @Inject  OrganizationResourceLockKeyProvider(OrganizationManager organizationManager); @Override String getLockKey(String accountId); @Override String getAccountType();  }
@Test public void shouldReturnOrganizationalReturnType() throws Exception { assertEquals(lockProvider.getAccountType(), OrganizationImpl.ORGANIZATIONAL_ACCOUNT); }