/Refactor-kata

Refactoring practice into polymorphic way

Primary LanguageJava

Refactor-kata

Conditional logic into polymorphic way.

Here, is a complex business logic that was too many conditional logic in a method.

I am trying to simplify this complex method into Polymorphic way.

My approach was TDD (test driven development)