コード例 #1
0
  @Test
  public void addANodeAndSampleableGoesUp() {
    createARelationship(db);

    assertThat(sampleable.getValue(), is(1d));
  }
コード例 #2
0
 @Test
 public void emptyDbHasZeroRelationships() {
   assertThat(sampleable.getValue(), is(0d));
 }