top-k
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package recreationaltech.plugin
|
||||
|
||||
import nextflow.Session
|
||||
import spock.lang.Specification
|
||||
|
||||
/**
|
||||
* Implements a basic factory test
|
||||
*
|
||||
*/
|
||||
class K8sDvfsObserverTest extends Specification {
|
||||
|
||||
def 'should create the observer instance' () {
|
||||
given:
|
||||
def factory = new K8sDvfsFactory()
|
||||
when:
|
||||
def result = factory.create(Mock(Session))
|
||||
then:
|
||||
result.size() == 1
|
||||
result.first() instanceof K8sDvfsObserver
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user