Just remove this line, you are testing that an error is thrown if someone forgets to register a launcher so the test should also simply not register a launcher. :)