Not necessarily. I'm talking about refactoring the Mappings
class which wouldn't need an interface, but you were speaking about ClientData
, right? I'm not sure what part of the code you meant. What responsibilities do you want to refactor into separate classes? Start by listing those, and some appropriate class names will pop out at you.