Change-Id: I2c68a87d2483ebbd44fbf90f1afced9f02d23ab4
Issue-ID: SO-1345
Signed-off-by: biniek <lukasz.biniek@nokia.com>
public void execute(DelegateExecution execution) throws Exception {
String correlationId = (String) execution.getVariable(CORRELATION_ID);
Pnf pnf = new Pnf();
- pnf.setInMaint(true);
pnf.setPnfId(correlationId);
pnf.setPnfName(correlationId);
aaiConnection.createEntry(correlationId, pnf);
Pnf createdEntry = aaiConnection.getCreated().get("testCorrelationId");
assertThat(createdEntry.getPnfId()).isEqualTo("testCorrelationId");
assertThat(createdEntry.getPnfName()).isEqualTo("testCorrelationId");
- assertThat(createdEntry.isInMaint()).isTrue();
+ assertThat(createdEntry.isInMaint()).isNull();
}
}
\ No newline at end of file