This method prints a warn, so logging should testes injected via construtor
to check if logger.warn was called.

Because this method only logging, tests is not too necessary (I think).