Change inetrface from expect<T,E> to expected<E,T>.