Pass Mock in parameter

0

I need to set a class, and put a face on it called "SimulationDeSet", and make the "SimulationDeSet" return the value I want, but when trying to pass this mock as a parameter it is wrong, I saw many ways to do mock but that's how I need it in this case I did not find it, which is to make a mock via parameter.

public void setSimulação(mock.mysimulaçãoDeSet) {
      //O retorno vem aqui
}
    
asked by anonymous 03.04.2018 / 21:25

0 answers