Merge "Correct and clarify comments in TomcatTest example"

This commit is contained in:
Jenkins 2016-06-21 23:10:48 +00:00 committed by Gerrit Code Review
commit 49734ff087
1 changed files with 4 additions and 2 deletions

View File

@ -44,12 +44,14 @@ Methods:
- $.env: $this.load($.appJson)
# Set up mock for the push method of *io.murano.system.HeatStack* class
# by providing YAQL expression representing the predefined heat output
- inject(sys:HeatStack, push, $.heatOutput)
# Set up mock for the concrete object with mock method name
# Set up mock for the output method of env's stack in the same way
- inject($.env.stack, output, $.heatOutput)
# Set up mock with YAQL function
# Set up mock for the call method of murano agent class
# by providing the name of the method from the test class
- inject('io.murano.system.Agent', call, $this, agentMock)
# Mocks will be called instead of original function during the deployment