I was thinking more of initially writing a failing test: so `assertEquals(loc.getEndpoint(), "myendpoint");`. You could mark it as `@Test(groups="WIP")` for now so that it doesn't fail the `mvn clean install` build.

With a failing test, next step is to then look at fixing it. Worth doing that in this pull request as well. Ping me on IRC or skype for pointers about that.