SUT

Direct inputs

The inputs that a SUT directly receives via its interface (i.e method parameters)

Direct outputs

The outputs a SUT directly returns via its interface (i.e method return values)

Indirect inputs

Inputs supplied to the SUT by other components with which it interacts (i.e values supplied by DOCs)

Indirect outputs

Test double

Generic names for Dummy, Stub, Spy, Fake or Mock

Dummy

Test double that is never used or called but must be present (i.e it could just be null)

Stub

Test double that supplies indirect inputs to SUT (and does nothing else)

Mock

Spy

Test double that captures indirect outputs from SUT to allow later verification (may also provide indirect input)

Fake

Test double that acts as a lightweight stand in for some other component

Guava

An open source project from Google originally known as Google Collections. It provides common utilities for Java such as collections operations, string processing and caching. See Guava

TDD