Mock Version: 1.3.3 Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/php-phpspec-prophecy.spec'], env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock'}chrootPath='/var/lib/mock/f26-build-8250517-733228/root'timeout=172800shell=Falseuser='mockbuild'logger=printOutput=Falsegid=425uid=1000) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/php-phpspec-prophecy.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/php-phpspec-prophecy-1.7.0-4.fc26.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/php-phpspec-prophecy.spec'], env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock'}chrootPath='/var/lib/mock/f26-build-8250517-733228/root'timeout=172800shell=Falseuser='mockbuild'printOutput=Falseprivate_network=Truelogger=gid=425uid=1000) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/php-phpspec-prophecy.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Zr6RCj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf prophecy-93d39f1f7f9326d746203c7c056f300f7f126073 + /usr/bin/gzip -dc /builddir/build/SOURCES/prophecy-1.7.0-93d39f1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd prophecy-93d39f1f7f9326d746203c7c056f300f7f126073 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/php-phpspec-prophecy-autoload.php src/Prophecy/autoload.php + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.j1L2u6 + umask 022 + cd /builddir/build/BUILD + cd prophecy-93d39f1f7f9326d746203c7c056f300f7f126073 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ek3DnT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch ++ dirname /builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch + cd prophecy-93d39f1f7f9326d746203c7c056f300f7f126073 + mkdir -p /builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch/usr/share/php + cp -pr src/Prophecy /builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch/usr/share/php + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/prophecy-93d39f1f7f9326d746203c7c056f300f7f126073 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.mCq57G + umask 022 + cd /builddir/build/BUILD + cd prophecy-93d39f1f7f9326d746203c7c056f300f7f126073 + /usr/bin/php -d include_path=.:/builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch/usr/share/php:/usr/share/php /usr/bin/phpspec run --format pretty --verbose --no-ansi Prophecy\Argument\ArgumentsWildcard 10 ✔ wraps non token arguments into ExactValueToken 20 ✔ generates string representation from all tokens imploded 33 ✔ exposes list of tokens 40 ✔ returns score of 1 if there are no tokens and arguments 47 ✔ should return match score based on all tokens score 63 ✔ returns false if there is less arguments than tokens 79 ✔ returns false if there is less tokens than arguments 95 ✔ should return false if one of the tokens returns false 111 ✔ should calculate score until last token Prophecy\Argument\Token\AnyValueToken 9 ✔ implements TokenInterface 14 ✔ is not last 19 ✔ its string representation is star 24 ✔ scores any argument as 3 Prophecy\Argument\Token\AnyValuesToken 9 ✔ implements TokenInterface 14 ✔ is last 19 ✔ its string representation is star with followup 24 ✔ scores any argument as 2 Prophecy\Argument\Token\ApproximateValueToken 15 ✔ is initializable 20 ✔ implements TokenInterface 25 ✔ is not last 30 ✔ scores 10 if rounded argument matches rounded value 35 ✔ does not score if rounded argument does not match rounded value 40 ✔ uses a default precision of zero 46 ✔ does not score if rounded argument is not numeric 51 ✔ has simple string representation Prophecy\Argument\Token\ArrayCountToken 14 ✔ implements TokenInterface 19 ✔ is not last 24 ✔ scores 6 if argument array has proper count 29 ✔ scores 6 if argument countable object has proper count 35 ✔ does not score if argument is neither array nor countable object 42 ✔ does not score if argument array has wrong count 47 ✔ does not score if argument countable object has wrong count 53 ✔ has simple string representation Prophecy\Argument\Token\ArrayEntryToken 18 ✔ implements TokenInterface 23 ✔ is not last 28 ✔ holds key and value 34 ✔ its string representation tells that its an array containing the key value pair 41 ✔ wraps non token value into ExactValueToken 47 ✔ wraps non token key into ExactValueToken 53 ✔ scores array half of combined scores from key and value tokens 60 ✔ scores traversable object half of combined scores from key and value tokens 79 ✔ throws exception during scoring of array accessible object if key is not ExactValueToken 91 ✔ scores array accessible object half of combined scores from key and value tokens 104 ✔ accepts any key token type to score object that is both traversable and array accessible 122 ✔ does not score if argument is neither array nor traversable nor array accessible 128 ✔ does not score empty array 133 ✔ does not score array if key and value tokens do not score same entry 143 ✔ does not score traversable object without entries 151 ✔ does not score traversable object if key and value tokens do not score same entry 174 ✔ does not score array accessible object if it has no offset with key token value 183 ✔ does not score array accessible object if key and value tokens do not score same entry 196 ✔ its score is capped at 8 Prophecy\Argument\Token\ArrayEveryEntryToken 15 ✔ implements TokenInterface 20 ✔ is not last 25 ✔ holds value 30 ✔ its string representation tells that its an array containing only value 36 ✔ wraps non token value into ExactValueToken 42 ✔ does not score if argument is neither array nor traversable 48 ✔ does not score empty array 53 ✔ does not score traversable object without entries 61 ✔ scores avg of scores from value tokens 68 ✔ scores false if entry scores false 75 ✔ does not score array keys 82 ✔ scores traversable object from value token Prophecy\Argument\Token\CallbackToken 14 ✔ implements TokenInterface 19 ✔ is not last 24 ✔ scores 7 if argument matches callback 31 ✔ does not scores if argument does not match callback 38 ✔ its string representation should tell that its callback Prophecy\Argument\Token\ExactValueToken 14 ✔ implements TokenInterface 19 ✔ is not last 24 ✔ holds value 29 ✔ scores 10 if value is equal to argument 35 ✔ scores 10 if value is an object and equal to argument 44 ✔ does not scores if value is not equal to argument 50 ✔ does not scores if value an object and is not equal to argument 59 ✔ does not scores if value type and is not equal to argument 65 ✔ generates proper string representation for integer 71 ✔ generates proper string representation for string 77 ✔ generates single line representation for multiline string 83 ✔ generates proper string representation for double 89 ✔ generates proper string representation for boolean true 95 ✔ generates proper string representation for boolean false 101 ✔ generates proper string representation for null 107 ✔ generates proper string representation for empty array 113 ✔ generates proper string representation for array 119 ✔ generates proper string representation for resource 126 ✔ generates proper string representation for object Prophecy\Argument\Token\IdenticalValueToken 15 ✔ is initializable 20 ✔ scores 11 if string value is identical to argument 26 ✔ scores 11 if boolean value is identical to argument 32 ✔ scores 11 if integer value is identical to argument 38 ✔ scores 11 if float value is identical to argument 44 ✔ scores 11 if array value is identical to argument 50 ✔ scores 11 if object value is identical to argument 58 ✔ scores false if value is not identical to argument 64 ✔ scores false if object value is not the same instance than argument 70 ✔ scores false if integer value is not identical to boolean argument 76 ✔ is not last 81 ✔ generates proper string representation for integer 87 ✔ generates proper string representation for string 93 ✔ generates single line representation for multiline string 99 ✔ generates proper string representation for double 105 ✔ generates proper string representation for boolean true 111 ✔ generates proper string representation for boolean false 117 ✔ generates proper string representation for null 123 ✔ generates proper string representation for empty array 129 ✔ generates proper string representation for array 135 ✔ generates proper string representation for resource 142 ✔ generates proper string representation for object Prophecy\Argument\Token\LogicalAndToken 11 ✔ implements TokenInterface 17 ✔ is not last 23 ✔ generates string representation from all tokens imploded 36 ✔ wraps non token arguments into ExactValueToken 42 ✔ scores the maximum score from all scores returned by tokens 50 ✔ does not score if there are no arguments or tokens 56 ✔ does not score if either of tokens does not score Prophecy\Argument\Token\LogicalNotToken 15 ✔ implements TokenInterface 20 ✔ holds originating token 25 ✔ has simple string representation 31 ✔ wraps non token argument into ExactValueToken 39 ✔ scores 4 if preset token does not match the argument 45 ✔ does not score if preset token matches argument 51 ✔ is last if preset token is last 57 ✔ is not last if preset token is not last Prophecy\Argument\Token\ObjectStateToken 14 ✔ implements TokenInterface 19 ✔ is not last 24 ✔ scores 8 if argument object has specific method state 31 ✔ scores 8 if argument object has specific property state 38 ✔ does not score if argument method state does not match 47 ✔ does not score if argument property state does not match 54 ✔ does not score if argument object does not have method or property 59 ✔ does not score if argument is not object 64 ✔ has simple string representation Prophecy\Argument\Token\StringContainsToken 15 ✔ is initializable 20 ✔ implements TokenInterface 25 ✔ holds value 30 ✔ is not last 35 ✔ scores 6 if the argument contains the value 40 ✔ does not score if the argument does not contain the value 45 ✔ its string representation shows substring Prophecy\Argument\Token\TypeToken 15 ✔ implements TokenInterface 20 ✔ is not last 25 ✔ scores 5 if argument matches simple type 32 ✔ does not scores if argument does not match simple type 39 ✔ scores 5 if argument is an instance of specified class 46 ✔ has simple string representation 51 ✔ scores 5 if argument is an instance of specified interface Prophecy\Argument 9 ✔ has a shortcut for exact argument token 16 ✔ has a shortcut for any argument token 22 ✔ has a shortcut for multiple arguments token 28 ✔ has a shortcut for type token 34 ✔ has a shortcut for callback token 40 ✔ has a shortcut for object state token 46 ✔ has a shortcut for logical and token 52 ✔ has a shortcut for array count token 58 ✔ has a shortcut for array entry token 64 ✔ has a shortcut for array every entry token 70 ✔ has a shortcut for identical value token 76 ✔ has a shortcut for array entry token matching any key 83 ✔ has a shortcut for array entry token matching any value 90 ✔ has a shortcut for logical not token 96 ✔ has a shortcut for string contains token 102 ✔ has a shortcut for approximate token Prophecy\Call\CallCenter 17 ✔ records calls made through makeCall method 33 ✔ returns null for any call through makeCall if no method prophecies added 42 ✔ executes promise of method prophecy that matches signature passed to makeCall 84 ✔ executes promise of method prophecy that matches with highest score to makeCall 126 ✔ throws exception if call does not match any of defined method prophecies 143 ✔ returns null if method prophecy that matches makeCall arguments has no promise 161 ✔ finds recorded calls by a method name and arguments wildcard Prophecy\Call\Call 14 ✔ exposes method name through getter 19 ✔ exposes arguments through getter 24 ✔ exposes return value through getter 29 ✔ exposes exception through getter 34 ✔ exposes file and line through getter 40 ✔ returns shortpath to callPlace 45 ✔ returns unknown as callPlace if no file or line provided Prophecy\Comparator\ClosureComparator 10 ✔ is comparator 15 ✔ accepts only closures 28 ✔ asserts that all closures are different 33 ✔ asserts that all closures are different even if its the same closure Prophecy\Comparator\Factory 10 ✔ extends Sebastian Comparator Factory 15 ✔ should have ClosureComparator registered Prophecy\Comparator\ProphecyComparator 11 ✔ is a comparator 16 ✔ accepts only prophecy objects 32 ✔ asserts that an object is equal to its revealed prophecy Prophecy\Doubler\ClassPatch\DisableConstructorPatch 13 ✔ is a patch 18 ✔ its priority is 100 23 ✔ supports anything 28 ✔ makes all constructor arguments optional 46 ✔ creates new constructor if object has none Prophecy\Doubler\ClassPatch\HhvmExceptionPatch 12 ✔ is a patch 17 ✔ its priority is minus 50 22 ✔ uses parent code for setTraceOptions Prophecy\Doubler\ClassPatch\KeywordPatch 12 ✔ is a patch 17 ✔ its priority is 49 22 ✔ will remove echo and eval methods Prophecy\Doubler\ClassPatch\MagicCallPatch 12 ✔ is a patch 17 ✔ supports anything 22 ✔ discovers api using phpdoc 32 ✔ ignores existing methods 43 ✔ ignores empty methods from phpdoc 53 ✔ discovers api using phpdoc from implemented interfaces 63 ✔ discovers api using phpdoc from own interfaces 73 ✔ discovers api using phpdoc from extended parent interfaces 83 ✔ has 50 priority Prophecy\Doubler\ClassPatch\ProphecySubjectPatch 12 ✔ is a patch 17 ✔ has priority of 0 22 ✔ supports any class 27 ✔ forces class to implement ProphecySubjectInterface 40 ✔ forces all class methods except constructor to proxy calls into prophecy makeCall Prophecy\Doubler\ClassPatch\ReflectionClassNewInstancePatch 13 ✔ is a patch 18 ✔ its priority is 50 23 ✔ supports ReflectionClass only 32 ✔ makes all newInstance arguments optional Prophecy\Doubler\ClassPatch\SplFileInfoPatch 12 ✔ is a patch 17 ✔ its priority is 50 22 ✔ does not support nodes without parent class 28 ✔ supports nodes with SplFileInfo as parent class 34 ✔ supports nodes with derivative of SplFileInfo as parent class 40 ✔ adds a method to node if not exists 49 ✔ updates existing method if found 60 ✔ should not supply a file for a directory iterator 73 ✔ should supply a file for a spl file object Prophecy\Doubler\ClassPatch\TraversablePatch 11 ✔ is a patch 16 ✔ supports class that implements only Traversable 23 ✔ does not support class that implements Iterator 30 ✔ does not support class that implements IteratorAggregate 37 ✔ has 100 priority 42 ✔ forces node to implement IteratorAggregate Prophecy\Doubler\Doubler 19 ✔ does not have patches by default 24 ✔ its registerClassPatch adds a patch to the doubler 30 ✔ its getClassPatches sorts patches by priority 49 ✔ its double mirrors alterates and instantiates provided class 81 ✔ double instantiates a class with constructor argument 96 ✔ can instantiate class with final constructor Prophecy\Doubler\Generator\ClassCodeGenerator 14 ✔ generates proper php code for specific ClassNode 178 ✔ generates proper php code for variadics 281 ✔ overrides properly methods with args passed by reference 323 ✔ generates empty class for empty ClassNode 343 ✔ wraps class in namespace if it is namespaced Prophecy\Doubler\Generator\ClassCreator 16 ✔ evaluates code generated by ClassCodeGenerator 25 ✔ throws an exception if class does not exist after evaluation Prophecy\Doubler\Generator\Node\ArgumentNode 14 ✔ is not be passed by reference by default 19 ✔ is passed by reference if marked 25 ✔ is not variadic by default 30 ✔ is variadic if marked 36 ✔ does not have default by default 41 ✔ does not have default if variadic 48 ✔ does have default if not variadic 55 ✔ has name with which it was been constructed 60 ✔ has no typehint by default 65 ✔ its typeHint is mutable 71 ✔ does not have default value by default 76 ✔ is not optional by default 81 ✔ its default is mutable 87 ✔ is marked as optional when default is set Prophecy\Doubler\Generator\Node\ClassNode 11 ✔ its parentClass is a stdClass by default 16 ✔ its parentClass is mutable 22 ✔ its parentClass is set to stdClass if user set null 28 ✔ does not implement any interface by default 33 ✔ its addInterface adds item to the list of implemented interfaces 39 ✔ its hasInterface returns true if class implements interface 45 ✔ its hasInterface returns false if class does not implements interface 50 ✔ supports implementation of multiple interfaces 57 ✔ ignores same interfaces added twice 66 ✔ does not have methods by default 71 ✔ can has methods 85 ✔ its hasMethod returns true if method exists 94 ✔ its getMethod returns method by name 103 ✔ its hasMethod returns false if method does not exists 108 ✔ its hasMethod returns false if method has been removed 118 ✔ does not have properties by default 123 ✔ is able to have properties 133 ✔ its addProperty does not accept unsupported visibility 138 ✔ its addProperty lowercases visibility before setting 144 ✔ its has no unextendable methods by default 149 ✔ its addUnextendableMethods adds an unextendable method 155 ✔ its methods are extendable by default 160 ✔ its unextendable methods are not extendable 166 ✔ its addUnextendableMethods doesnt create duplicates 173 ✔ throws an exception when adding a method that isnt extendable Prophecy\Doubler\Generator\Node\MethodNode 15 ✔ has a name 20 ✔ has public visibility by default 25 ✔ its visibility is mutable 31 ✔ is not static by default 36 ✔ does not return a reference by default 41 ✔ should be settable as returning a reference through setter 47 ✔ should be settable as static through setter 53 ✔ accepts only supported visibilities 58 ✔ lowercases visibility before setting it 64 ✔ its useParentCode causes method to call parent 82 ✔ its code is mutable 88 ✔ its reference returning methods will generate exceptions 95 ✔ its setCode provided with null cleans method body 101 ✔ is constructable with code 107 ✔ does not have arguments by default 112 ✔ supports adding arguments 120 ✔ does not have return type by default 125 ✔ setReturnType sets return type Prophecy\Doubler\LazyDouble 16 ✔ returns anonymous double instance by default 23 ✔ returns class double instance if set 32 ✔ returns same double instance if called 2 times 44 ✔ its setParentClass throws ClassNotFoundException if class not found 50 ✔ its setParentClass throws exception if prophecy is already created 62 ✔ its addInterface throws InterfaceNotFoundException if no interface found 68 ✔ its addInterface throws exception if prophecy is already created Prophecy\Doubler\NameGenerator 9 ✔ its name generates name based on simple class reflection 15 ✔ its name generates name based on namespaced class reflection 21 ✔ its name generates name based on interface shortnames 33 ✔ generates proper name for no class and interfaces list 38 ✔ its name generates name based only on class if its available Prophecy\Exception\Call\UnexpectedCallException 16 ✔ is prophecy exception 21 ✔ exposes method name through getter 26 ✔ exposes arguments through getter Prophecy\Exception\Doubler\ClassCreatorException 16 ✔ is a prophecy exception 22 ✔ contains a reflected node Prophecy\Exception\Doubler\ClassMirrorException 14 ✔ is a prophecy exception 20 ✔ contains a reflected class link Prophecy\Exception\Doubler\ClassNotFoundException 15 ✔ is a prophecy exception 21 ✔ its getClassname returns classname Prophecy\Exception\Doubler\DoubleException 9 ✔ is a double exception Prophecy\Exception\Doubler\InterfaceNotFoundException 15 ✔ extends ClassNotFoundException 20 ✔ its getClassname returns classname Prophecy\Exception\Doubler\MethodNotExtendableException 15 ✔ is DoubleException 20 ✔ has MethodName 25 ✔ has classname Prophecy\Exception\Doubler\MethodNotFoundException 15 ✔ is DoubleException 20 ✔ has MethodName 25 ✔ has classnamej 30 ✔ has an arguments list 35 ✔ has a default null argument list Prophecy\Exception\Prediction\AggregateException 16 ✔ is prediction exception 22 ✔ can store objectProphecy link 28 ✔ should not have exceptions at the beginning 33 ✔ should append exception through append method 42 ✔ should update message during append Prophecy\Exception\Prediction\NoCallsException 18 ✔ is PredictionException 23 ✔ extends MethodProphecyException Prophecy\Exception\Prediction\UnexpectedCallsCountException 18 ✔ extends UnexpectedCallsException 23 ✔ should expose expectedCount through getter Prophecy\Exception\Prediction\UnexpectedCallsException 19 ✔ is PredictionException 24 ✔ extends MethodProphecyException 29 ✔ should expose calls list through getter Prophecy\Exception\Prophecy\MethodProphecyException 19 ✔ extends DoubleException 24 ✔ holds a stub reference Prophecy\Exception\Prophecy\ObjectProphecyException 15 ✔ should be a prophecy exception 20 ✔ holds double reference Prophecy\Prediction\CallPrediction 14 ✔ is prediction 19 ✔ does nothing if there is more than one call been made 27 ✔ throws NoCallsException if no calls found Prophecy\Prediction\CallTimesPrediction 18 ✔ is prediction 23 ✔ does nothing if there were exact amount of calls being made 32 ✔ throws UnexpectedCallsCountException if calls found Prophecy\Prediction\CallbackPrediction 19 ✔ is prediction 24 ✔ proxies call to callback Prophecy\Prediction\NoCallsPrediction 13 ✔ is prediction 18 ✔ does nothing if there is no calls made 23 ✔ throws UnexpectedCallsException if calls found Prophecy\Promise\CallbackPromise 16 ✔ is promise 21 ✔ should execute closure callback 32 ✔ should execute static array callback 41 ✔ should execute instance array callback 51 ✔ should execute string function callback Prophecy\Promise\ReturnArgumentPromise 11 ✔ is promise 16 ✔ should return first argument if provided 21 ✔ should return null if no arguments provided 26 ✔ should return nth argument if provided Prophecy\Promise\ReturnPromise 16 ✔ is promise 21 ✔ returns value it was constructed with 26 ✔ always returns last value left in the return values 32 ✔ consequently returns multiple values it was constructed with 43 ✔ returns null if constructed with empty array Prophecy\Promise\ThrowPromise 17 ✔ is promise 22 ✔ instantiates and throws exception from provided classname 30 ✔ instantiates exceptions with required arguments 38 ✔ throws provided exception 45 ✔ throws error instances 56 ✔ throws errors by class name 67 ✔ does not throw something that is not throwable by class name 74 ✔ does not throw something that is not throwable by instance 81 ✔ throws an exception by class name Prophecy\Prophecy\ObjectProphecy 26 ✔ implements ProphecyInterface 31 ✔ sets parentClass during willExtend call 38 ✔ adds interface during willImplement call 45 ✔ sets constructor arguments during willBeConstructedWith call 52 ✔ does not have method prophecies by default 57 ✔ should get method prophecies by method name 75 ✔ should return empty array if no method prophecies found 81 ✔ should proxy makeProphecyMethodCall to CallCenter 90 ✔ should reveal arguments and return values from callCenter 105 ✔ should proxy getProphecyMethodCalls to CallCenter 118 ✔ its addMethodProphecy adds method prophecy 132 ✔ its addMethodProphecy handles prophecies with different arguments 155 ✔ its addMethodProphecy handles prophecies for different methods 180 ✔ its addMethodProphecy throws exception when method has no ArgumentsWildcard 191 ✔ returns null after checkPredictions call if there is no method prophecies 196 ✔ throws AggregateException during checkPredictions if predictions fail 218 ✔ returns new MethodProphecy instance for arbitrary call 229 ✔ returns same MethodProphecy for same registered signature 241 ✔ returns new MethodProphecy for different signatures 256 ✔ returns new MethodProphecy for all callback signatures Prophecy\Prophecy\Revealer 10 ✔ is revealer 15 ✔ reveals single instance of ProphecyInterface 22 ✔ reveals instances of ProphecyInterface inside array 40 ✔ does not touch non prophecy interface Prophecy\Prophet 21 ✔ constructs new prophecy on prophesize call 27 ✔ constructs new prophecy with parent class if specified 34 ✔ constructs new prophecy with interface if specified 41 ✔ exposes all created prophecies through getter 49 ✔ does nothing during checkPredictions call if no predictions defined 54 ✔ throws AggregateException if defined predictions fail 77 ✔ exposes doubler through getter Prophecy\Util\StringUtil 9 ✔ generates proper string representation for integer 14 ✔ generates proper string representation for string 19 ✔ generates single line representation for multiline string 24 ✔ generates proper string representation for double 29 ✔ generates proper string representation for boolean true 34 ✔ generates proper string representation for boolean false 39 ✔ generates proper string representation for null 44 ✔ generates proper string representation for empty array 49 ✔ generates proper string representation for array 54 ✔ generates proper string representation for hash containing one value 59 ✔ generates proper string representation for hash 66 ✔ generates proper string representation for resource 72 ✔ generates proper string representation for object 82 ✔ generates proper string representation for object without exporting 63 specs 428 examples (428 passed) 200ms + exit 0 Processing files: php-phpspec-prophecy-1.7.0-4.fc26.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vd88jw + umask 022 + cd /builddir/build/BUILD + cd prophecy-93d39f1f7f9326d746203c7c056f300f7f126073 + DOCDIR=/builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch/usr/share/doc/php-phpspec-prophecy + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch/usr/share/doc/php-phpspec-prophecy + cp -pr CHANGES.md CONTRIBUTING.md README.md /builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch/usr/share/doc/php-phpspec-prophecy + cp -pr composer.json /builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch/usr/share/doc/php-phpspec-prophecy + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cnxBxl + umask 022 + cd /builddir/build/BUILD + cd prophecy-93d39f1f7f9326d746203c7c056f300f7f126073 + LICENSEDIR=/builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch/usr/share/licenses/php-phpspec-prophecy + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch/usr/share/licenses/php-phpspec-prophecy + cp -pr LICENSE /builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch/usr/share/licenses/php-phpspec-prophecy + exit 0 Provides: php-composer(phpspec/prophecy) = 1.7.0 php-phpspec-prophecy = 1.7.0-4.fc26 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch Wrote: /builddir/build/RPMS/php-phpspec-prophecy-1.7.0-4.fc26.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1uxS9a + umask 022 + cd /builddir/build/BUILD + cd prophecy-93d39f1f7f9326d746203c7c056f300f7f126073 + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-phpspec-prophecy-1.7.0-4.fc26.noarch + exit 0 Child return code was: 0