The implementation of second THEN of Test Scenario #0202 [THEN] Updated lookup value in database is arguable. It is now implemented as:
local procedure VerifyLookupValueInDatabase(LookupValueCode: Code[10]; Response: Text)
var
LookupValue: Record LookupValue;
begin
LookupValue.Get(LookupValueCode);
VerifyLookupValueInResponse(Response, LookupValue);
end;
Two issues that could be argued about:
VerifyLookupValueInResponse is already covered by the first THEN in this scenario: [THEN] Updated lookup value in response
LookupValue.Get should be replaced by a method from Library - Assert
The implementation of second THEN of Test Scenario #0202
[THEN] Updated lookup value in database
is arguable. It is now implemented as:Two issues that could be argued about:
VerifyLookupValueInResponse
is already covered by the first THEN in this scenario:[THEN] Updated lookup value in response
LookupValue.Get
should be replaced by a method fromLibrary - Assert