unpackExpected

public static int unpackExpected(ValueMismatch mismatch)

Obtains expected int value from the passed mismatch.

Throws

if the passed instance represent a mismatch of non-int values