def METHOD_NAME(self):
    nom_build.main(['nom_build', 'task-name', '-d', '-b', 'foo'])
    self.call_mock.assert_called_with([GRADLEW, '--build-file', 'foo',
                                      '--debug', 'task-name'])