Change from withOutputParameterOfType() to withOutputParameter().