simple rule for Unit-Testing

Arrange

Act

Assert

Arrange mean that we need to arrange or set up the necessary parameters for the test.

Act means just do the action which might be calling a method, calling a controller.

Assert means just evaluate the result.