[DependencyInjection] Remove quotes around expectedExceptionMessage message

Remove quotes which cause test failure.