use mocks and builders for testing