@Test
public void shouldBuildDatasourceFromString() {

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