Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TrekSetCourseTest.testSetBadCourseWithDamagedEngines - too many calls to getPositon #58

Open
TerryEbdon opened this issue Jan 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@TerryEbdon
Copy link
Owner

testSetBadCourseWithDamagedEngines

junit.framework.AssertionFailedError: verify[0]: expected 0..0 call(s) to 'getPosition' but was called 1 time(s).
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:73)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:60)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:86)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:263)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
	at groovy.mock.interceptor.Demand.verify(Demand.groovy:51)
	at groovy.mock.interceptor.Demand$verify.call(Unknown Source)
	at groovy.mock.interceptor.StrictExpectation.verify(StrictExpectation.groovy:78)
	at groovy.mock.interceptor.StrictExpectation$verify$0.call(Unknown Source)
	at groovy.mock.interceptor.MockFor.use(MockFor.groovy:138)
	at groovy.mock.interceptor.MockFor$use.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139)
	at net.ebdon.trk21.TrekSetCourseTest.testSetBadCourseWithDamagedEngines(TrekSetCourseTest.groovy:49)
@TerryEbdon TerryEbdon added the bug Something isn't working label Jan 8, 2024
@TerryEbdon TerryEbdon self-assigned this Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant