{"id":55572,"library":"specs2-mock-2-11","title":"Specs2 Mock","description":"Mocking support module for the specs2 testing library for Scala 2.11.","status":"active","version":"4.10.6","language":"java","source_language":null,"source_url":"https://github.com/etorreborre/specs2","tags":["testing","mock","scala","specs2"],"install":[{"cmd":"<dependency>\n  <groupId>org.specs2</groupId>\n  <artifactId>specs2-mock_2.11</artifactId>\n  <version>4.10.6</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.specs2:specs2-mock_2.11:4.10.6'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"Mockito","correct":"org.specs2.mock.Mockito"}],"quickstart":{"code":"import org.specs2.mock.Mockito;\n\npublic class ExampleSpec extends Mockito {\n    // Use mock() and other methods\n}","lang":"java","description":"Extends Mockito trait to use mocking in specs2 tests."},"warnings":[{"fix":"Use specs2-mock_2.13 or specs2-mock_3 instead.","message":"Scala 2.11 is outdated; consider upgrading to Scala 2.13 or 3.","severity":"breaking","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'2.11':13 'librari':10 'mock':2,3,15 'modul':5 'scala':12,16 'specs2':1,8,17 'support':4 'test':9,14","created_at":"2026-06-15T09:56:43.263625+00:00","updated_at":"2026-06-15T09:56:43.263625+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://specs2.org/","github":"https://github.com/etorreborre/specs2","docs":"https://appdoc.app/artifact/org.specs2/specs2-mock_2.11/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}