@Test public void testLogin() throws Exception { AzureLoginAccess instance = new AzureLoginAccess(tableClient); Login login = Login.create("userName", "userPid", new byte[]{'a'}, new byte[]{'a'}, "", "", "", ""); instance.addLogin(login); Optional<Login> retrievedLogin = instance.getLogin("userName"); assertThat(retrievedLogin, is(present())); assertThat(retrievedLogin.get(), is(login)); }
protected void create(String partitionKey, String rowKey, Map<String, EntityProperty> properties) throws StorageException { table.execute(TableOperation.insert(new DynamicTableEntity(partitionKey, rowKey, new HashMap<>(properties)))); }
AzureAccess { protected void create(String partitionKey, String rowKey, Map<String, EntityProperty> properties) throws StorageException { table.execute(TableOperation.insert(new DynamicTableEntity(partitionKey, rowKey, new HashMap<>(properties)))); } }
AzureAccess { protected void create(String partitionKey, String rowKey, Map<String, EntityProperty> properties) throws StorageException { table.execute(TableOperation.insert(new DynamicTableEntity(partitionKey, rowKey, new HashMap<>(properties)))); } AzureAccess(CloudTableClient client, String tableName); }
AzureAccess { protected void create(String partitionKey, String rowKey, Map<String, EntityProperty> properties) throws StorageException { table.execute(TableOperation.insert(new DynamicTableEntity(partitionKey, rowKey, new HashMap<>(properties)))); } AzureAccess(CloudTableClient client, String tableName);  }
AzureAccess { protected void create(String partitionKey, String rowKey, Map<String, EntityProperty> properties) throws StorageException { table.execute(TableOperation.insert(new DynamicTableEntity(partitionKey, rowKey, new HashMap<>(properties)))); } AzureAccess(CloudTableClient client, String tableName);   }