com.github.goldin.spock.extensions.with.WithInterceptor.groovy Maven / Gradle / Ivy
The newest version!
package com.github.goldin.spock.extensions.with
import com.github.goldin.spock.extensions.BaseMethodInterceptor
import org.gcontracts.annotations.Ensures
import org.gcontracts.annotations.Requires
import org.spockframework.runtime.extension.IMethodInvocation
/**
* {@code @With} extension interceptor.
*/
class WithInterceptor extends BaseMethodInterceptor
{
private final List metaObjects
@Requires({ objects })
@Ensures({ this.metaObjects.size() <= objects.size() })
WithInterceptor ( List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy