@Test public void onlyInIntegrationSum_1Plus2_return3() throws Exception { // When int sum = travisCIVerifier.onlyInIntegrationSum(1, 2); // Then assertThat(sum).isEqualTo(3); }
@Test public void returnWhatYouGet_givingTrue_expectingTrue() throws Exception { // When boolean result = travisCIVerifier.returnWhatYouGet(true); // Then assertTrue(result); }
@Test public void putSomeStuffInDb_getSomeStuffFromDB_inMemDBWorks() throws Exception { // When travisCIVerifier.insertIntoTableA(1); travisCIVerifier.insertIntoTableA(2); // Then assertThat(dbHelper.getAllOfA()).containsExactly(1, 2); }