SimplePokerhandOCP The Simple Pokerhand Kata to explain Open - Closed - Principle This code does not conform to OCP. Try to refactor your code to conform to it.