Query builder kata (TDD)