Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/mockito.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8060020220519080214-c0229ad2-build-62751-21431/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/mockito.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/mockito-1.10.19-17.module+el8.6.0+500+11037448.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/mockito.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8060020220519080214-c0229ad2-build-62751-21431/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/mockito.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rrQgpo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mockito-1.10.19 + /usr/bin/xz -dc /builddir/build/SOURCES/mockito-1.10.19.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mockito-1.10.19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (fixup-ant-script.patch):' Patch #0 (fixup-ant-script.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file build.xml Patch #1 (fix-bnd-config.patch): + echo 'Patch #1 (fix-bnd-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file conf/mockito-core.bnd Patch #2 (mockito-matcher.patch): + echo 'Patch #2 (mockito-matcher.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/org/mockito/internal/matchers/LocalizedMatcher.java Hunk #1 succeeded at 24 (offset 2 lines). Hunk #2 succeeded at 45 (offset 2 lines). Patch #3 (setting-naming-policy.patch): + echo 'Patch #3 (setting-naming-policy.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/org/mockito/internal/creation/cglib/CGLIBHacker.java Hunk #1 succeeded at 16 (offset -4 lines). Hunk #2 succeeded at 42 (offset -4 lines). Patch #4 (fix-incompatible-types.patch): + echo 'Patch #4 (fix-incompatible-types.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/org/mockito/internal/creation/instance/ObjenesisInstantiator.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep net.sf.cglib:cglib:3.1 maven/mockito-core.pom + find . -name '*.java' -exec sed -i 's|org\.mockito\.cglib|net\.sf\.cglib|g' '{}' + + mkdir -p lib/compile + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove 'target[@name="javadoc"]/copy' build.xml + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.L00yup + umask 022 + cd /builddir/build/BUILD + cd mockito-1.10.19 + build-jar-repository lib/compile objenesis cglib junit hamcrest/core + ant jar javadoc Buildfile: /builddir/build/BUILD/mockito-1.10.19/build.xml [taskdef] Could not load definitions from resource org/apache/maven/artifact/ant/antlib.xml. It could not be found. clean: prepare: [mkdir] Created dir: /builddir/build/BUILD/mockito-1.10.19/target/classes [mkdir] Created dir: /builddir/build/BUILD/mockito-1.10.19/target/test-classes [mkdir] Created dir: /builddir/build/BUILD/mockito-1.10.19/target/reports/junit compile: [javac] /builddir/build/BUILD/mockito-1.10.19/build.xml:81: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 327 source files to /builddir/build/BUILD/mockito-1.10.19/target/classes [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/listeners/MethodInvocationReport.java:7: warning: [deprecation] PrintableInvocation in org.mockito.exceptions has been deprecated [javac] import org.mockito.exceptions.PrintableInvocation; [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/configuration/DefaultMockitoConfiguration.java:7: warning: [deprecation] ReturnValues in org.mockito has been deprecated [javac] import org.mockito.ReturnValues; [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/configuration/IMockitoConfiguration.java:7: warning: [deprecation] ReturnValues in org.mockito has been deprecated [javac] import org.mockito.ReturnValues; [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/internal/configuration/GlobalConfiguration.java:7: warning: [deprecation] ReturnValues in org.mockito has been deprecated [javac] import org.mockito.ReturnValues; [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/internal/configuration/MockitoAnnotationsMockAnnotationProcessor.java:8: warning: [deprecation] Mock in MockitoAnnotations has been deprecated [javac] import org.mockito.MockitoAnnotations.Mock; [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/internal/runners/JUnit44RunnerImpl.java:8: warning: [deprecation] InitializationError in org.junit.internal.runners has been deprecated [javac] import org.junit.internal.runners.InitializationError; [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/internal/runners/JUnit44RunnerImpl.java:9: warning: [deprecation] JUnit4ClassRunner in org.junit.internal.runners has been deprecated [javac] import org.junit.internal.runners.JUnit4ClassRunner; [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/internal/stubbing/answers/AnswerReturnValuesAdapter.java:9: warning: [deprecation] ReturnValues in org.mockito has been deprecated [javac] import org.mockito.ReturnValues; [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/invocation/DescribedInvocation.java:12: warning: [deprecation] PrintableInvocation in org.mockito.exceptions has been deprecated [javac] public interface DescribedInvocation extends PrintableInvocation { [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/internal/matchers/LocalizedMatcher.java:33: warning: [deprecation] _dont_implement_Matcher___instead_extend_BaseMatcher_() in Matcher has been deprecated [javac] public void _dont_implement_Matcher___instead_extend_BaseMatcher_() { [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/internal/configuration/DefaultAnnotationEngine.java:34: warning: [deprecation] Mock in MockitoAnnotations has been deprecated [javac] registerAnnotationProcessor(MockitoAnnotations.Mock.class, new MockitoAnnotationsMockAnnotationProcessor()); [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/internal/configuration/SpyAnnotationEngine.java:42: warning: [deprecation] createMockFor(Annotation,Field) in AnnotationEngine has been deprecated [javac] public Object createMockFor(Annotation annotation, Field field) { [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/internal/configuration/injection/scanner/MockScanner.java:82: warning: [deprecation] Mock in MockitoAnnotations has been deprecated [javac] || null != field.getAnnotation(MockitoAnnotations.Mock.class); [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/junit/MockitoJUnit.java:17: warning: [deprecation] MockitoJUnitRule in org.mockito.junit has been deprecated [javac] return new MockitoJUnitRule(); [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/junit/MockitoJUnit.java:17: warning: [deprecation] MockitoJUnitRule() in MockitoJUnitRule has been deprecated [javac] return new MockitoJUnitRule(); [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/verification/Timeout.java:47: warning: [deprecation] atMost(int) in VerificationWithTimeout has been deprecated [javac] public VerificationMode atMost(int maxNumberOfInvocations) { [javac] ^ [javac] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/verification/Timeout.java:52: warning: [deprecation] never() in VerificationWithTimeout has been deprecated [javac] public VerificationMode never() { [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 17 warnings jar: [jar] Building jar: /builddir/build/BUILD/mockito-1.10.19/target/mockito-core-1.10.19.jar javadoc: [javadoc] Generating Javadoc [javadoc] Javadoc execution [javadoc] Loading source files for package org.mockito... [javadoc] Loading source files for package org.mockito.configuration... [javadoc] Loading source files for package org.mockito.exceptions... [javadoc] Loading source files for package org.mockito.exceptions.base... [javadoc] Loading source files for package org.mockito.exceptions.misusing... [javadoc] Loading source files for package org.mockito.exceptions.stacktrace... [javadoc] Loading source files for package org.mockito.exceptions.verification... [javadoc] Loading source files for package org.mockito.exceptions.verification.junit... [javadoc] Loading source files for package org.mockito.internal... [javadoc] Loading source files for package org.mockito.internal.configuration... [javadoc] Loading source files for package org.mockito.internal.configuration.injection... [javadoc] Loading source files for package org.mockito.internal.configuration.injection.filter... [javadoc] Loading source files for package org.mockito.internal.configuration.injection.scanner... [javadoc] Loading source files for package org.mockito.internal.configuration.plugins... [javadoc] Loading source files for package org.mockito.internal.creation... [javadoc] Loading source files for package org.mockito.internal.creation.cglib... [javadoc] Loading source files for package org.mockito.internal.creation.instance... [javadoc] Loading source files for package org.mockito.internal.creation.settings... [javadoc] Loading source files for package org.mockito.internal.creation.util... [javadoc] Loading source files for package org.mockito.internal.debugging... [javadoc] Loading source files for package org.mockito.internal.exceptions... [javadoc] Loading source files for package org.mockito.internal.exceptions.stacktrace... [javadoc] Loading source files for package org.mockito.internal.exceptions.util... [javadoc] Loading source files for package org.mockito.internal.handler... [javadoc] Loading source files for package org.mockito.internal.invocation... [javadoc] Loading source files for package org.mockito.internal.invocation.finder... [javadoc] Loading source files for package org.mockito.internal.invocation.realmethod... [javadoc] Loading source files for package org.mockito.internal.junit... [javadoc] Loading source files for package org.mockito.internal.listeners... [javadoc] Loading source files for package org.mockito.internal.matchers... [javadoc] Loading source files for package org.mockito.internal.matchers.apachecommons... [javadoc] Loading source files for package org.mockito.internal.progress... [javadoc] Loading source files for package org.mockito.internal.reporting... [javadoc] Loading source files for package org.mockito.internal.runners... [javadoc] Loading source files for package org.mockito.internal.runners.util... [javadoc] Loading source files for package org.mockito.internal.stubbing... [javadoc] Loading source files for package org.mockito.internal.stubbing.answers... [javadoc] Loading source files for package org.mockito.internal.stubbing.defaultanswers... [javadoc] Loading source files for package org.mockito.internal.util... [javadoc] Loading source files for package org.mockito.internal.util.collections... [javadoc] Loading source files for package org.mockito.internal.util.io... [javadoc] Loading source files for package org.mockito.internal.util.junit... [javadoc] Loading source files for package org.mockito.internal.util.reflection... [javadoc] Loading source files for package org.mockito.internal.verification... [javadoc] Loading source files for package org.mockito.internal.verification.api... [javadoc] Loading source files for package org.mockito.internal.verification.argumentmatching... [javadoc] Loading source files for package org.mockito.internal.verification.checkers... [javadoc] Loading source files for package org.mockito.invocation... [javadoc] Loading source files for package org.mockito.junit... [javadoc] Loading source files for package org.mockito.listeners... [javadoc] Loading source files for package org.mockito.mock... [javadoc] Loading source files for package org.mockito.plugins... [javadoc] Loading source files for package org.mockito.runners... [javadoc] Loading source files for package org.mockito.stubbing... [javadoc] Loading source files for package org.mockito.stubbing.answers... [javadoc] Loading source files for package org.mockito.verification... [javadoc] Constructing Javadoc information... [javadoc] Creating destination directory: "/builddir/build/BUILD/mockito-1.10.19/target/javadoc/" [javadoc] Standard Doclet version 1.8.0_332 [javadoc] Building tree for all the packages and classes... [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/AdditionalAnswers.java:123: error: unknown attribute: link [javadoc] * issue 145. [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/AdditionalAnswers.java:142: warning: empty

tag [javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/AdditionalAnswers.java:174: warning: no @param for [javadoc] public static Answer delegatesTo(Object delegate) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/AdditionalAnswers.java:181: warning: empty

tag [javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/AdditionalAnswers.java:195: warning: no @param for [javadoc] public static Answer returnsElementsOf(Collection elements) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/AdditionalMatchers.java:55: warning: no @param for [javadoc] public static > T geq(Comparable value) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/AdditionalMatchers.java:146: warning: no @param for [javadoc] public static > T leq(Comparable value) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/AdditionalMatchers.java:237: warning: no @param for [javadoc] public static > T gt(Comparable value) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/AdditionalMatchers.java:328: warning: no @param for [javadoc] public static > T lt(Comparable value) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/AdditionalMatchers.java:420: warning: no @param for [javadoc] public static > T cmpEq(Comparable value) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/ArgumentCaptor.java:127: error: end tag missing: [javadoc] *


  [javadoc]                          ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/ArgumentCaptor.java:17: error: bad HTML entity
  [javadoc]  * This is also the recommended way of matching arguments because it makes tests clean & simple.
  [javadoc]                                                                                        ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:190: warning: no @param for 
  [javadoc]     public static  BDDMyOngoingStubbing given(T methodCall) {
  [javadoc]                                               ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:190: warning: no @param for methodCall
  [javadoc]     public static  BDDMyOngoingStubbing given(T methodCall) {
  [javadoc]                                               ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:190: warning: no @return
  [javadoc]     public static  BDDMyOngoingStubbing given(T methodCall) {
  [javadoc]                                               ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:208: warning: no @param for 
  [javadoc]     public static  Then then(T mock) {
  [javadoc]                               ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:208: warning: no @param for mock
  [javadoc]     public static  Then then(T mock) {
  [javadoc]                               ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:208: warning: no @return
  [javadoc]     public static  Then then(T mock) {
  [javadoc]                               ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:373: warning: no @param for toBeThrown
  [javadoc]     public static BDDStubber willThrow(Throwable toBeThrown) {
  [javadoc]                              ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:373: warning: no @return
  [javadoc]     public static BDDStubber willThrow(Throwable toBeThrown) {
  [javadoc]                              ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:381: warning: no @param for toBeThrown
  [javadoc]     public static BDDStubber willThrow(Class toBeThrown) {
  [javadoc]                              ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:381: warning: no @return
  [javadoc]     public static BDDStubber willThrow(Class toBeThrown) {
  [javadoc]                              ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:389: warning: no @param for answer
  [javadoc]     public static BDDStubber willAnswer(Answer answer) {
  [javadoc]                              ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:389: warning: no @return
  [javadoc]     public static BDDStubber willAnswer(Answer answer) {
  [javadoc]                              ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:397: warning: no @return
  [javadoc]     public static BDDStubber willDoNothing() {
  [javadoc]                              ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:405: warning: no @param for toBeReturned
  [javadoc]     public static BDDStubber willReturn(Object toBeReturned) {
  [javadoc]                              ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:405: warning: no @return
  [javadoc]     public static BDDStubber willReturn(Object toBeReturned) {
  [javadoc]                              ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:413: warning: no @return
  [javadoc]     public static BDDStubber willCallRealMethod() {
  [javadoc]                              ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1162: warning: no @param for 
  [javadoc]     public static  T mock(Class classToMock) {
  [javadoc]                         ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1181: warning: no @param for 
  [javadoc]     public static  T mock(Class classToMock, String name) {
  [javadoc]                         ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1209: error: bad HTML entity
  [javadoc]      * for better consistency & interoperability of the framework.
  [javadoc]                               ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1234: warning: no @param for 
  [javadoc]     public static  T mock(Class classToMock, ReturnValues returnValues) {
  [javadoc]                         ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1257: warning: no @param for 
  [javadoc]     public static  T mock(Class classToMock, Answer defaultAnswer) {
  [javadoc]                         ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1284: warning: no @param for 
  [javadoc]     public static  T mock(Class classToMock, MockSettings mockSettings) {
  [javadoc]                         ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1301: error: bad HTML entity
  [javadoc]      * However, I wouldn't use partial mocks for new, test-driven & well-designed code.
  [javadoc]                                                                   ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1327: error: header used out of sequence: 

[javadoc] *

Important gotcha on spying real objects!

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1367: warning: no @param for [javadoc] public static T spy(T object) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1456: warning: no @param for [javadoc] public static DeprecatedOngoingStubbing stub(T methodCall) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1522: warning: no @param for [javadoc] public static OngoingStubbing when(T methodCall) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1553: warning: no @param for [javadoc] public static T verify(T mock) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1579: warning: no @param for [javadoc] public static T verify(T mock, VerificationMode mode) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1589: error: bad HTML entity [javadoc] * Follow the whisper of your test methods: "Please keep us small & focused on single behavior". [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1604: error: bad HTML entity [javadoc] * //at this point the mock forgot any interactions & stubbing [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1710: warning: no @param for [javadoc] public static VoidMethodStubbable stubVoid(T mock) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1765: error: bad HTML entity [javadoc] * However, I wouldn't use partial mocks for new, test-driven & well-designed code. [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1818: warning: empty

tag [javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1864: warning: empty

tag [javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:2261: error: bad HTML entity [javadoc] * Repeat after me: simple tests push simple, KISSy, readable & maintainable code. [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:2266: error: bad HTML entity [javadoc] * //Creates mock with different default answer & name [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Matchers.java:242: warning: no @param for [javadoc] public static T anyObject() { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Matchers.java:269: warning: no @param for [javadoc] public static T anyVararg() { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Matchers.java:290: warning: no @param for [javadoc] public static T any(Class clazz) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Matchers.java:307: warning: no @param for [javadoc] public static T any() { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Matchers.java:356: warning: no @param for [javadoc] public static List anyListOf(Class clazz) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Matchers.java:390: warning: no @param for [javadoc] public static Set anySetOf(Class clazz) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Matchers.java:425: warning: no @param for [javadoc] public static Map anyMapOf(Class keyClazz, Class valueClazz) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Matchers.java:425: warning: no @param for [javadoc] public static Map anyMapOf(Class keyClazz, Class valueClazz) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Matchers.java:459: warning: no @param for [javadoc] public static Collection anyCollectionOf(Class clazz) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Matchers.java:591: warning: no @param for [javadoc] public static T eq(T value) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Matchers.java:615: warning: no @param for [javadoc] public static T refEq(T value, String... excludeFields) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Matchers.java:654: warning: no @param for [javadoc] public static T isNull(Class clazz) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Matchers.java:682: warning: no @param for [javadoc] public static T notNull(Class clazz) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Matchers.java:710: warning: no @param for [javadoc] public static T isNotNull(Class clazz) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Matchers.java:777: warning: no @param for [javadoc] public static T argThat(Matcher matcher) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:79: warning: no @param for answer [javadoc] BDDMyOngoingStubbing willAnswer(Answer answer); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:79: warning: no @return [javadoc] BDDMyOngoingStubbing willAnswer(Answer answer); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:85: warning: no @param for answer [javadoc] BDDMyOngoingStubbing will(Answer answer); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:85: warning: no @return [javadoc] BDDMyOngoingStubbing will(Answer answer); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:91: warning: no @param for value [javadoc] BDDMyOngoingStubbing willReturn(T value); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:91: warning: no @return [javadoc] BDDMyOngoingStubbing willReturn(T value); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:97: warning: no @param for value [javadoc] BDDMyOngoingStubbing willReturn(T value, T... values); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:97: warning: no @param for values [javadoc] BDDMyOngoingStubbing willReturn(T value, T... values); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:97: warning: no @return [javadoc] BDDMyOngoingStubbing willReturn(T value, T... values); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:103: warning: no @param for throwables [javadoc] BDDMyOngoingStubbing willThrow(Throwable... throwables); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:103: warning: no @return [javadoc] BDDMyOngoingStubbing willThrow(Throwable... throwables); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:109: warning: no @param for throwableClasses [javadoc] BDDMyOngoingStubbing willThrow(Class... throwableClasses); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:109: warning: no @return [javadoc] BDDMyOngoingStubbing willThrow(Class... throwableClasses); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:115: warning: no @return [javadoc] BDDMyOngoingStubbing willCallRealMethod(); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:121: warning: no @param for [javadoc] M getMock(); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:121: warning: no @return [javadoc] M getMock(); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:268: warning: no @param for answer [javadoc] BDDStubber willAnswer(Answer answer); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:268: warning: no @return [javadoc] BDDStubber willAnswer(Answer answer); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:274: warning: no @return [javadoc] BDDStubber willNothing(); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:280: warning: no @param for toBeReturned [javadoc] BDDStubber willReturn(Object toBeReturned); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:280: warning: no @return [javadoc] BDDStubber willReturn(Object toBeReturned); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:286: warning: no @param for toBeThrown [javadoc] BDDStubber willThrow(Throwable toBeThrown); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:286: warning: no @return [javadoc] BDDStubber willThrow(Throwable toBeThrown); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:292: warning: no @param for toBeThrown [javadoc] BDDStubber willThrow(Class toBeThrown); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:292: warning: no @return [javadoc] BDDStubber willThrow(Class toBeThrown); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:298: warning: no @return [javadoc] BDDStubber willCallRealMethod(); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:304: warning: no @param for [javadoc] T given(T mock); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:304: warning: no @param for mock [javadoc] T given(T mock); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:304: warning: no @return [javadoc] T given(T mock); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:225: warning: no @return [javadoc] T should(); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:231: warning: no @param for mode [javadoc] T should(VerificationMode mode); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/BDDMockito.java:231: warning: no @return [javadoc] T should(VerificationMode mode); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/InjectMocks.java:51: error: unexpected end tag:

[javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/InjectMocks.java:77: error: unexpected end tag:

[javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/InjectMocks.java:120: error: unexpected end tag:

[javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/InjectMocks.java:134: error: unexpected end tag:

[javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/InOrder.java:45: warning: no @param for [javadoc] T verify(T mock); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/InOrder.java:64: warning: no @param for [javadoc] T verify(T mock, VerificationMode mode); [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:20: warning: attribute obsolete, use CSS instead: align [javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:20: error: self-closing element not allowed [javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:30: error: self-closing element not allowed [javadoc] * 1. Let's verify some behaviour!
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:31: error: self-closing element not allowed [javadoc] * 2. How about some stubbing?
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:32: error: self-closing element not allowed [javadoc] * 3. Argument matchers
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:33: error: self-closing element not allowed [javadoc] * 4. Verifying exact number of invocations / at least once / never
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:34: error: self-closing element not allowed [javadoc] * 5. Stubbing void methods with exceptions
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:35: error: self-closing element not allowed [javadoc] * 6. Verification in order
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:36: error: self-closing element not allowed [javadoc] * 7. Making sure interaction(s) never happened on mock
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:37: error: self-closing element not allowed [javadoc] * 8. Finding redundant invocations
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:38: error: self-closing element not allowed [javadoc] * 9. Shorthand for mocks creation - @Mock annotation
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:39: error: self-closing element not allowed [javadoc] * 10. Stubbing consecutive calls (iterator-style stubbing)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:40: error: self-closing element not allowed [javadoc] * 11. Stubbing with callbacks
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:41: error: self-closing element not allowed [javadoc] * 12. doReturn()|doThrow()|doAnswer()|doNothing()|doCallRealMethod() family of methods
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:42: error: self-closing element not allowed [javadoc] * 13. Spying on real objects
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:43: error: self-closing element not allowed [javadoc] * 14. Changing default return values of unstubbed invocations (Since 1.7)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:44: error: self-closing element not allowed [javadoc] * 15. Capturing arguments for further assertions (Since 1.8.0)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:45: error: self-closing element not allowed [javadoc] * 16. Real partial mocks (Since 1.8.0)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:46: error: self-closing element not allowed [javadoc] * 17. Resetting mocks (Since 1.8.0)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:47: error: bad HTML entity [javadoc] * 18. Troubleshooting & validating framework usage (Since 1.8.0)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:47: error: self-closing element not allowed [javadoc] * 18. Troubleshooting & validating framework usage (Since 1.8.0)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:48: error: self-closing element not allowed [javadoc] * 19. Aliases for behavior driven development (Since 1.8.0)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:49: error: self-closing element not allowed [javadoc] * 20. Serializable mocks (Since 1.8.1)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:50: error: self-closing element not allowed [javadoc] * 21. New annotations: @Captor, @Spy, @InjectMocks (Since 1.8.3)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:51: error: self-closing element not allowed [javadoc] * 22. Verification with timeout (Since 1.8.5)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:52: error: self-closing element not allowed [javadoc] * 23. Automatic instantiation of @Spies, @InjectMocks and constructor injection goodness (Since 1.9.0)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:53: error: self-closing element not allowed [javadoc] * 24. One-liner stubs (Since 1.9.0)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:54: error: self-closing element not allowed [javadoc] * 25. Verification ignoring stubs (Since 1.9.0)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:55: error: self-closing element not allowed [javadoc] * 26. Mocking details (Since 1.9.5)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:56: error: self-closing element not allowed [javadoc] * 27. Delegate calls to real instance (Since 1.9.5)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:57: error: self-closing element not allowed [javadoc] * 28. MockMaker API (Since 1.9.5)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:58: error: self-closing element not allowed [javadoc] * 29. (new) BDD style verification (Since 1.10.0)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:59: error: self-closing element not allowed [javadoc] * 30. (new) Spying or mocking abstract classes (Since 1.10.12)
[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:70: error: header used out of sequence:

[javadoc] *

1. Let's verify some behaviour!

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:70: error: invalid name for anchor: "1" [javadoc] *

1. Let's verify some behaviour!

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:95: error: invalid name for anchor: "2" [javadoc] *

2. How about some stubbing?

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:141: error: invalid name for anchor: "3" [javadoc] *

3. Argument matchers

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:168: error: bad HTML entity [javadoc] * The natural matching style using equals() with occasional anyX() matchers tend to give clean & simple tests. [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:198: error: invalid name for anchor: "4" [javadoc] *

4. Verifying exact number of invocations / [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:237: error: invalid name for anchor: "5" [javadoc] *

5. Stubbing void methods with exceptions

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:255: error: invalid name for anchor: "6" [javadoc] *

6. Verification in order

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:300: error: invalid name for anchor: "7" [javadoc] *

7. Making sure interaction(s) never happened on mock

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:320: error: invalid name for anchor: "8" [javadoc] *

8. Finding redundant invocations

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:343: warning: empty

tag [javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:348: error: invalid name for anchor: "9" [javadoc] *

9. Shorthand for mocks creation - @Mock annotation

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:381: error: invalid name for anchor: "10" [javadoc] *

10. Stubbing consecutive calls (iterator-style stubbing)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:390: warning: empty

tag [javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:417: error: invalid name for anchor: "11" [javadoc] *

11. Stubbing with callbacks

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:424: error: bad HTML entity [javadoc] * any clean & simple code. [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:442: error: invalid name for anchor: "12" [javadoc] *

12. doReturn()|doThrow()| [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:487: error: invalid name for anchor: "13" [javadoc] *

13. Spying on real objects

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:502: warning: empty

tag [javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:560: error: invalid name for anchor: "14" [javadoc] *

14. Changing default return values of unstubbed invocations (Since 1.7)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:579: error: invalid name for anchor: "15" [javadoc] *

15. Capturing arguments for further assertions (Since 1.8.0)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:582: error: bad HTML entity [javadoc] * This is also the recommended way of matching arguments because it makes tests clean & simple. [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:607: error: invalid name for anchor: "16" [javadoc] *

16. Real partial mocks (Since 1.8.0)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:609: error: bad HTML entity [javadoc] * Finally, after many internal debates & discussions on the mailing list, partial mock support was added to Mockito. [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:615: warning: empty

tag [javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:635: error: bad HTML entity [javadoc] * However, I wouldn't use partial mocks for new, test-driven & well-designed code. [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:640: error: invalid name for anchor: "17" [javadoc] *

17. Resetting mocks (Since 1.8.0)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:647: error: bad HTML entity [javadoc] * Follow the whisper of your test methods: "Please keep us small & focused on single behavior". [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:662: error: bad HTML entity [javadoc] * //at this point the mock forgot any interactions & stubbing [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:668: error: invalid name for anchor: "18" [javadoc] *

18. Troubleshooting & validating framework usage (Since 1.8.0)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:668: error: bad HTML entity [javadoc] *

18. Troubleshooting & validating framework usage (Since 1.8.0)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:682: error: invalid name for anchor: "19" [javadoc] *

19. Aliases for behavior driven development (Since 1.8.0)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:716: error: invalid name for anchor: "20" [javadoc] *

20. Serializable mocks (Since 1.8.1)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:747: error: invalid name for anchor: "21" [javadoc] *

21. New annotations: @Captor, [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:770: warning: empty

tag [javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:775: error: invalid name for anchor: "22" [javadoc] *

22. Verification with timeout (Since 1.8.5)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:786: warning: empty

tag [javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:807: error: invalid name for anchor: "23" [javadoc] *

23. Automatic instantiation of @Spies, [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:831: error: invalid name for anchor: "24" [javadoc] *

24. One-liner stubs (Since 1.9.0)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:836: error: bad HTML entity [javadoc] * For example, some boring stub can be created & stubbed at field initialization in a test: [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:847: error: invalid name for anchor: "25" [javadoc] *

25. Verification ignoring stubs (Since 1.9.0)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:876: error: invalid name for anchor: "26" [javadoc] *

26. Mocking details (Since 1.9.5)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:891: error: invalid name for anchor: "27" [javadoc] *

27. Delegate calls to real instance (Since 1.9.5)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:927: error: invalid name for anchor: "28" [javadoc] *

28. MockMaker API (Since 1.9.5)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:938: error: invalid name for anchor: "29" [javadoc] *

29. (new) BDD style verification (Since 1.10.0)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:948: error: invalid name for anchor: "30" [javadoc] *

30. (new) Spying or mocking abstract classes (Since 1.10.12)

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1137: error: bad HTML entity [javadoc] * However, I wouldn't use partial mocks for new, test-driven & well-designed code. [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1046: error: unexpected end tag:

[javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1071: error: unexpected end tag:

[javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1096: error: unexpected end tag:

[javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1111: error: unexpected end tag:

[javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/Mockito.java:1029: warning: empty

tag [javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/MockitoAnnotations.java:89: warning: no @param for testClass [javadoc] public static void initMocks(Object testClass) { [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/MockitoAnnotations.java:26: warning: empty

tag [javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/MockSettings.java:46: error: bad HTML entity [javadoc] * The object under test should know exactly its collaborators & dependencies. [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/MockSettings.java:47: error: bad HTML entity [javadoc] * If you happen to use it often than please make sure you are really producing simple, clean & readable code. [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/MockSettings.java:96: error: bad HTML entity [javadoc] * However, I wouldn't use partial mocks for new, test-driven & well-designed code. [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/MockSettings.java:109: error: element not closed: pre [javadoc] *


  [javadoc]        ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/MockSettings.java:268: warning: no @param for outerClassInstance
  [javadoc]     MockSettings outerInstance(Object outerClassInstance);
  [javadoc]                  ^
  [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/MockSettings.java:15: error: self-closing element not allowed
  [javadoc]  * 

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/MockSettings.java:18: error: bad HTML entity [javadoc] * Repeat after me: simple tests push simple, KISSy, readable & maintainable code. [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/MockSettings.java:20: error: self-closing element not allowed [javadoc] *

[javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/MockSettings.java:23: error: bad HTML entity [javadoc] * //Creates mock with different default answer & name [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/ReturnValues.java:36: warning: no @throws for java.lang.Throwable [javadoc] Object valueFor(InvocationOnMock invocation) throws Throwable; [javadoc] ^ [javadoc] /builddir/build/BUILD/mockito-1.10.19/src/org/mockito/configuration/AnnotationEngine.java:30: warning: no @return [javadoc] Object createMockFor(Annotation annotation, Field field); [javadoc] ^ [javadoc] Generating /builddir/build/BUILD/mockito-1.10.19/target/javadoc/serialized-form.html... [javadoc] Copying file StandardDocFile[file:/builddir/build/BUILD/mockito-1.10.19/javadoc/stylesheet.css] to file stylesheet.css... [javadoc] 100 errors [javadoc] 100 warnings BUILD SUCCESSFUL Total time: 6 seconds + pushd target ~/build/BUILD/mockito-1.10.19/target ~/build/BUILD/mockito-1.10.19 + bnd wrap --version 1.10.19 --output mockito-core-1.10.19.bar --properties ../conf/mockito-core.bnd mockito-core-1.10.19.jar ----------------- Warnings 000: /builddir/build/BUILD/mockito-1.10.19/target/mockito-core-1.10.19.jarUnused Import-Package instructions: [org.apache.tools.ant.*] 001: /builddir/build/BUILD/mockito-1.10.19/target/mockito-core-1.10.19.jarExport org.mockito.exceptions, has 3, private references [org.mockito.internal.exceptions, org.mockito.internal.matchers, org.mockito.internal.reporting], 002: /builddir/build/BUILD/mockito-1.10.19/target/mockito-core-1.10.19.jarExport org.mockito.stubbing, has 1, private references [org.mockito.internal.progress], 003: /builddir/build/BUILD/mockito-1.10.19/target/mockito-core-1.10.19.jarExport org.mockito.stubbing.answers, has 1, private references [org.mockito.internal.stubbing.answers], 004: /builddir/build/BUILD/mockito-1.10.19/target/mockito-core-1.10.19.jarExport org.mockito.verification, has 2, private references [org.mockito.internal.verification, org.mockito.internal.verification.api], + mv mockito-core-1.10.19.bar mockito-core-1.10.19.jar + unzip mockito-core-1.10.19.jar META-INF/MANIFEST.MF Archive: mockito-core-1.10.19.jar inflating: META-INF/MANIFEST.MF + sed -i -e '2iRequire-Bundle: org.hamcrest.core' META-INF/MANIFEST.MF + jar umf META-INF/MANIFEST.MF mockito-core-1.10.19.jar May 19, 2022 7:24:18 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Manifest-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. May 19, 2022 7:24:18 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Ant-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. May 19, 2022 7:24:18 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Bnd-LastModified. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. May 19, 2022 7:24:18 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Built-By. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. May 19, 2022 7:24:18 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Bundle-ManifestVersion. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. May 19, 2022 7:24:18 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Bundle-Name. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. May 19, 2022 7:24:18 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Bundle-SymbolicName. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. May 19, 2022 7:24:18 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Bundle-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. May 19, 2022 7:24:18 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Created-By. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. May 19, 2022 7:24:18 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. May 19, 2022 7:24:18 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Originally-Created-By. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. May 19, 2022 7:24:18 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Require-Capability. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. May 19, 2022 7:24:18 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Tool. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. + popd ~/build/BUILD/mockito-1.10.19 + sed -i -e 's|@version@|1.10.19|g' maven/mockito-core.pom + /usr/libexec/platform-python /usr/share/java-utils/mvn_artifact.py maven/mockito-core.pom target/mockito-core-1.10.19.jar + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py org.mockito:mockito-core org.mockito:mockito-all + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9hE3In + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch ++ dirname /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch + cd mockito-1.10.19 + xmvn-install -R .xmvn-reactor -n mockito -d /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch [INFO] Installing artifact org.mockito:mockito-core:pom:1.10.19 [INFO] Installing artifact org.mockito:mockito-core:jar:1.10.19 [INFO] Installation successful + jdir=target/javadoc + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch/usr/share/licenses + '[' -d target/javadoc ']' + install -dm755 /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch/usr/share/javadoc/mockito + cp -pr target/javadoc/constant-values.html target/javadoc/org target/javadoc/overview-frame.html target/javadoc/package-list target/javadoc/serialized-form.html /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch/usr/share/javadoc/mockito + echo /usr/share/javadoc/mockito + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.10.19-17.module+el8.6.0+500+11037448 --unique-debug-suffix -1.10.19-17.module+el8.6.0+500+11037448.noarch --unique-debug-src-base mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mockito-1.10.19 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.wQbHPp + umask 022 + cd /builddir/build/BUILD + cd mockito-1.10.19 + LICENSEDIR=/builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch/usr/share/licenses/mockito + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch/usr/share/licenses/mockito + cp -pr LICENSE /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch/usr/share/licenses/mockito + cp -pr NOTICE /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch/usr/share/licenses/mockito + exit 0 [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch/usr/share/java/mockito/mockito-core.jar'] [INFO osgi.prov] osgi(org.mockito.mockito-core) = 1.10.19 [INFO osgi.req] input: ['/builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch/usr/share/java/mockito/mockito-core.jar'] [INFO osgi.req] osgi(org.hamcrest.core) [INFO maven.prov] input: ['/builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch/usr/share/maven-metadata/mockito.xml'] [INFO maven.prov] mvn(org.mockito:mockito-core:pom:) = 1.10.19 mvn(org.mockito:mockito-all:pom:) = 1.10.19, mvn(org.mockito:mockito-core) = 1.10.19 mvn(org.mockito:mockito-all) = 1.10.19 [INFO maven.req] input: ['/builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch/usr/share/maven-metadata/mockito.xml'] [INFO maven.req] mvn(org.objenesis:objenesis), mvn(org.hamcrest:hamcrest-core), javapackages-filesystem, mvn(net.sf.cglib:cglib), java-headless Provides: mockito = 1.10.19-17.module+el8.6.0+500+11037448 mvn(org.mockito:mockito-all) = 1.10.19 mvn(org.mockito:mockito-all:pom:) = 1.10.19 mvn(org.mockito:mockito-core) = 1.10.19 mvn(org.mockito:mockito-core:pom:) = 1.10.19 osgi(org.mockito.mockito-core) = 1.10.19 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: java-headless javapackages-filesystem mvn(net.sf.cglib:cglib) mvn(org.hamcrest:hamcrest-core) mvn(org.objenesis:objenesis) osgi(org.hamcrest.core) Processing files: mockito-javadoc-1.10.19-17.module+el8.6.0+500+11037448.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QWtNpo + umask 022 + cd /builddir/build/BUILD + cd mockito-1.10.19 + LICENSEDIR=/builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch/usr/share/licenses/mockito-javadoc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch/usr/share/licenses/mockito-javadoc + cp -pr LICENSE /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch/usr/share/licenses/mockito-javadoc + cp -pr NOTICE /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch/usr/share/licenses/mockito-javadoc + exit 0 Provides: mockito-javadoc = 1.10.19-17.module+el8.6.0+500+11037448 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: javapackages-filesystem Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch Wrote: /builddir/build/RPMS/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch.rpm Wrote: /builddir/build/RPMS/mockito-javadoc-1.10.19-17.module+el8.6.0+500+11037448.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zr5qUn + umask 022 + cd /builddir/build/BUILD + cd mockito-1.10.19 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mockito-1.10.19-17.module+el8.6.0+500+11037448.noarch + exit 0 Child return code was: 0