Distribute testing logic in separate methods