PersonalAccountPermissionsChecker implements AccountPermissionsChecker { @Override public String getAccountType() { return UserManager.PERSONAL_ACCOUNT; }  @Override void checkPermissions(String id, AccountOperation operation); @Override String getAccountType();  }
@Test public void shouldReturnPersonalAccountType() throws Exception { final String accountType = permissionsChecker.getAccountType(); Assert.assertEquals(accountType, UserManager.PERSONAL_ACCOUNT); }