Resx, dependecy type in exception message, generic tests