How can a method be statically imported in Kotlin? For example, in Java it's possible to do:
...
import static org.mockito.Mockito.verify;
...
class FoobarTest {
...
@Test public void testFoo() {
verify(mock).doSomething();
}
}
How can the same be done in Kotlin without having to fully qualify the method every time with Mockito.verify(mock).doSomething()
?