Spell correctly expected-warning and not warning expected.
Call a function with non null and check the expected result.