Refactor

Here is an example to break dependencies held on the server (in this case the processing of a message)

Following a single responsibility principle, a server serves, to process a message it requires a message processing. The Real message processor tho here is not implemented only the mock to make a test pass.