* Test that only verifies that Nexus reports itself (the status resource actually, used by {@link NexusClient}) as
* expected.
*/
@Test
public void verifyNexusReportsAsHealthyAndCorrect() {
final NexusStatus nexusStatus = client().getStatus();
assertThat(nexusStatus, is(notNullValue()));
assertThat(nexusStatus.isFirstStart(), is(true)); // should be true
assertThat(nexusStatus.isInstanceUpgraded(), is(false)); // should be false
// TODO: Need a generic way to detect the version of the bundle being runned.
// This below would work with parametrized coordinates, but does not work with "normal" use
// when DM is used as I have no version it seems, and it's known only in the moment of
// resolving Nexus GA, but it's seems it's not stored/exposed anywhere.
// final Artifact nexusBundleArtifact = new DefaultArtifact( nexusBundleCoordinates );
// assertThat( nexusStatus.getVersion(), is( nexus().getConfiguration(). nexusBundleArtifact.getBaseVersion() ) ); // version
assertThat(nexusStatus.getEditionShort(), equalTo("OSS"));
}