unpackExpected

public static boolean unpackExpected(ValueMismatch mismatch)

Obtains expected boolean value from the passed mismatch.

Throws

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