Converted this to an interface, now it does not need to be tested