public PendingOperationAsserter<R> modifyOperation() { return by() .changeType(ChangeTypeType.MODIFY) .find(); }
public PendingOperationAsserter<R> addOperation() { return by() .changeType(ChangeTypeType.ADD) .find(); }
public PendingOperationAsserter<R> deleteOperation() { return by() .changeType(ChangeTypeType.DELETE) .find(); }
protected void assertWillUnassignPendingOperationExecuting(ShadowAsserter<Void> shadowRepoAsserter) { shadowRepoAsserter .pendingOperations() .by() .changeType(ChangeTypeType.DELETE) .find() .assertRequestTimestamp(accountWillSecondReqestTimestampStart, accountWillSecondReqestTimestampEnd) .assertExecutionStatus(PendingOperationExecutionStatusType.EXECUTING) .assertResultStatus(OperationResultStatusType.IN_PROGRESS) .assertId() .end() .end(); }
protected void assertWillUnassignPendingOperationCompleted(ShadowAsserter<Void> shadowRepoAsserter) { shadowRepoAsserter .pendingOperations() .by() .changeType(ChangeTypeType.DELETE) .find() .assertRequestTimestamp(accountWillSecondReqestTimestampStart, accountWillSecondReqestTimestampEnd) .assertExecutionStatus(PendingOperationExecutionStatusType.COMPLETED) .assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountWillCompletionTimestampStart, accountWillCompletionTimestampEnd) .assertId() .end() .end(); }
@Override protected void assertWillUnassignPendingOperationExecuting(ShadowAsserter<Void> shadowRepoAsserter) { shadowRepoAsserter .pendingOperations() .by() .changeType(ChangeTypeType.MODIFY) .item(SchemaConstants.PATH_ACTIVATION_ADMINISTRATIVE_STATUS) .find() .assertRequestTimestamp(accountWillSecondReqestTimestampStart, accountWillSecondReqestTimestampEnd) .assertExecutionStatus(PendingOperationExecutionStatusType.EXECUTING) .assertResultStatus(OperationResultStatusType.IN_PROGRESS) .assertId() .end() .end(); }
@Override protected void assertWillUnassignPendingOperationCompleted(ShadowAsserter<Void> shadowRepoAsserter) { shadowRepoAsserter .pendingOperations() .by() .changeType(ChangeTypeType.MODIFY) .item(SchemaConstants.PATH_ACTIVATION_ADMINISTRATIVE_STATUS) .find() .assertRequestTimestamp(accountWillSecondReqestTimestampStart, accountWillSecondReqestTimestampEnd) .assertExecutionStatus(PendingOperationExecutionStatusType.COMPLETED) .assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountWillCompletionTimestampStart, accountWillCompletionTimestampEnd) .assertId() .end() .end(); }
.pendingOperations() .assertOperations(3) .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .item(SchemaConstants.PATH_PASSWORD_VALUE) .pendingOperations() .assertOperations(3) .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .item(SchemaConstants.PATH_PASSWORD_VALUE) .pendingOperations() .assertOperations(3) .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .item(SchemaConstants.PATH_PASSWORD_VALUE)
.pendingOperations() .assertOperations(3) .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .item(SchemaConstants.PATH_PASSWORD_VALUE) .pendingOperations() .assertOperations(3) .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .item(SchemaConstants.PATH_PASSWORD_VALUE) .pendingOperations() .assertOperations(3) .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .item(SchemaConstants.PATH_PASSWORD_VALUE)
.pendingOperations() .assertOperations(2) .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .changeType(ChangeTypeType.ADD)
.pendingOperations() .assertOperations(2) .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .item(SchemaConstants.PATH_PASSWORD_VALUE) .pendingOperations() .assertOperations(2) .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .item(SchemaConstants.PATH_PASSWORD_VALUE)
.pendingOperations() .assertOperations(2) .by() .changeType(ChangeTypeType.ADD) .find()
.pendingOperations() .assertOperations(expectenNumberOfPendingOperations) .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .resultStatus(OperationResultStatusType.SUCCESS) .pendingOperations() .assertOperations(expectenNumberOfPendingOperations) .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .resultStatus(OperationResultStatusType.SUCCESS)
.pendingOperations() .assertOperations(3) .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .item(SchemaConstants.PATH_PASSWORD_VALUE) .pendingOperations() .assertOperations(3) .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .item(SchemaConstants.PATH_PASSWORD_VALUE)
.pendingOperations() .assertOperations(2) .by() .changeType(ChangeTypeType.ADD) .find()
.pendingOperations() .assertOperations(expectenNumberOfPendingOperations) .by() .executionStatus(PendingOperationExecutionStatusType.EXECUTING) .find() .pendingOperations() .assertOperations(expectenNumberOfPendingOperations) .by() .executionStatus(PendingOperationExecutionStatusType.EXECUTING) .find()
.assertTombstone() .pendingOperations() .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .assertAll();
.pendingOperations() .assertOperations(expectenNumberOfPendingOperations) .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .resultStatus(OperationResultStatusType.SUCCESS) .pendingOperations() .assertOperations(expectenNumberOfPendingOperations) .by() .executionStatus(PendingOperationExecutionStatusType.COMPLETED) .resultStatus(OperationResultStatusType.SUCCESS)