@Test
public void shouldCreateStatusRepresentationWithVersionInfo() {

    // given
    final StatusRepresentation json = statusRepresentationOf(
            applicationStatus(mock(ApplicationInfo.class), mock(ClusterInfo.class), mock(SystemInfo.class), VersionInfo.versionInfo(versionInfoProperties("1.0.0", "0815", "http://example.org/commits/{commit}")), mock(TeamInfo.class), emptyList())
    );
    // then
    assertThat(json.application.version, is("1.0.0"));
    assertThat(json.application.commit, is("0815"));
    assertThat(json.application.vcsUrl, is("http://example.org/commits/0815"));
}