grpc-java/examples/src
Eric Anderson ba8063e7b0 all: Prefer mock+delegatesTo() over Mockito.spy()
Spies are really magical and easily produce unexpected results. Using them in
tests can easily yield tests that don't do what you think they do. Delegation
is much safer when possible.

Delegation doesn't work when methods `return true`, final methods, and with
restricted visibility, though. So CensusModulesTest and
MaxConnectionIdleManagerTest are left as-is.
2018-01-11 09:32:54 -08:00
..
main all: add Status messages to all statuses 2017-12-04 19:00:16 -08:00
test/java/io/grpc/examples all: Prefer mock+delegatesTo() over Mockito.spy() 2018-01-11 09:32:54 -08:00