Skip to content

Instantly share code, notes, and snippets.

@thiagoolsilva
Created May 19, 2016 04:35
Show Gist options
  • Save thiagoolsilva/b6b91a873d9a8cdb09b351e48105c2ff to your computer and use it in GitHub Desktop.
Save thiagoolsilva/b6b91a873d9a8cdb09b351e48105c2ff to your computer and use it in GitHub Desktop.
public void test_check_insert_object() {
final String fakeRg = "0000000";
Contact contact = new Contact(fakeRg);
contact.setAge(30);
contact.setEmail("thiagoolsilva@gmail.com");
contact.setName("Lopes");
boolean result = databaseController.insertContact(contact);
Assert.assertEquals(true, result);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment