Skip to content

Instantly share code, notes, and snippets.

@izmajlowiczl
Last active January 5, 2017 08:21
Show Gist options
  • Save izmajlowiczl/38c1d86b24986160bd9b62a7e607abd8 to your computer and use it in GitHub Desktop.
Save izmajlowiczl/38c1d86b24986160bd9b62a7e607abd8 to your computer and use it in GitHub Desktop.
@Test
public void storeWallets() {
Wallet wallet = Wallet.create(UUID.randomUUID(), "Test-Walet");
model.insert(wallet);
assertThat(model.list())
.containsExactly(wallet);
}
@Test
public void fetchWallets() {
Wallet wallet = Wallet.create(UUID.randomUUID(), "Test-Walet");
model.insert(wallet);
assertThat(model.list())
.containsExactly(wallet);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment