engine: Inline a method

The method is inlined to match the other test convention.

Change-Id: I92ca9d112216794d3c63b8f54e33c7f21488b9dd
Signed-off-by: Moti Asayag <masayag@redhat.com>