@Override public boolean isSdkProfileUsed(String token) { return endpointProfileDao.checkSdkToken(token); } }
@Test public void testCheckSdkToken() throws Exception { generateEndpointProfile(null, "alpha", null, null); Assert.assertTrue(endpointProfileDao.checkSdkToken("alpha")); Assert.assertFalse(endpointProfileDao.checkSdkToken("beta")); }