DebuggerVariable { public boolean isPrimitive() { return variable.isPrimitive(); } DebuggerVariable(@NotNull Variable variable); @NotNull Variable getVariable(); @NotNull String getName(); void setName(@NotNull String name); @NotNull String getValue(); void setValue(@NotNull String value); @NotNull String getType(); void setType(@NotNull String type); @NotNull VariablePath getVariablePath(); boolean isPrimitive(); @NotNull List<DebuggerVariable> getVariables(); void setVariables(@NotNull List<DebuggerVariable> debuggerVariables); @Override int hashCode(); @Override boolean equals(Object object);  }
@Test public void isPrimitiveShouldBeReturned() { debuggerVariable.isPrimitive(); verify(variable).isPrimitive(); }