you have added the given dependeny for the purpose of jersey testing code example
Example: jersey test dependency
#Jersey Test Dependency
// https://mvnrepository.com/artifact/org.glassfish.jersey.test-framework/jersey-test-framework-core
compile group: 'org.glassfish.jersey.test-framework', name: 'jersey-test-framework-core', version: '2.6'