/** Tests the result of the rest api single subject GET when there is a config. */
  @Test
  public void testSingleSubjectConfig() {
    setUpConfigData();
    final WebTarget wt = target();
    final String response =
        wt.path("network/configuration/devices/device1").request().get(String.class);

    final JsonObject result = Json.parse(response).asObject();
    Assert.assertThat(result, notNullValue());

    Assert.assertThat(result.names(), hasSize(1));

    JsonValue basic = result.asObject().get("basic");
    Assert.assertThat(basic, notNullValue());

    checkBasicAttributes(basic);
  }