List<ActionPlan> actionPlans = client.find("com.sonarsource.it.samples:simple-sample");
assertThat(httpServer.requestedPath()).isEqualTo("/api/action_plans/search?project=com.sonarsource.it.samples:simple-sample");
assertThat(actionPlans).hasSize(1);
ActionPlan actionPlan = actionPlans.get(0);
assertThat(actionPlan.key()).isEqualTo("382f6f2e-ad9d-424a-b973-9b065e04348a");
assertThat(actionPlan.name()).isEqualTo("Long term");
assertThat(actionPlan.description()).isEqualTo("Long term acton plan");
assertThat(actionPlan.project()).isEqualTo("com.sonarsource.it.samples:simple-sample");
assertThat(actionPlan.status()).isEqualTo("CLOSED");
assertThat(actionPlan.userLogin()).isEqualTo("admin");