The test logic is simplified. The dependency injection approach is not used.