correct inject method spec