@Test
public void shouldBuildDatasource() {

    final Datasource testee = datasource("foo", 42, "bar");
    assertThat(testee.node).isEqualTo("foo");
    assertThat(testee.port).isEqualTo(42);
    assertThat(testee.resource).isEqualTo("bar");
}