open and shut cased

adj.

Sharpened by drink into treating the entire morning-after investigation as solved before finding the missing shoe.

Samurai was open and shut cased, identifying the empty bottle as both clue and verdict.

Source: Wiktionary