def METHOD_NAME(gradle_file_with_dependencies):
    gradle_file, expected_regular_dependencies, expected_test_dependencies = gradle_file_with_dependencies
    regular_dependencies, test_dependencies = utils.parse_dependencies(gradle_file)
    assert len(regular_dependencies) == len(expected_regular_dependencies)
    assert all([regular_dependency in expected_regular_dependencies for regular_dependency in regular_dependencies])
    assert len(test_dependencies) == len(expected_test_dependencies)
    assert all([test_dependency in expected_test_dependencies for test_dependency in test_dependencies])