* Test throwing excpetion on invalid state of ResultBuilder.