I have the following interface:

```
public interface Test{
    public void block(String modifier);
    public boolean blocked(String modifier);
}

```

So I wanted to mock this interface as follows:

```
Test m = Mockito.mock(Test.class);
when(m.blocked(Mockito.any()).thenReturn(true);
//I want to mock m.block()

```

Buty I want to mock `Test::block(String)` the way so when it is called on some `String someString` it changes the behavior so that `m.blocked(someString)` will return `false`.

Is it possible to do so in Mockito?