### Question:
RpcUtils { public static boolean isContainerNotFound(Throwable cause) { if (cause instanceof StatusRuntimeException) { return Status.NOT_FOUND == ((StatusRuntimeException) cause).getStatus(); } else if (cause instanceof StatusException) { return Status.NOT_FOUND == ((StatusException) cause).getStatus(); } else { return false; } }  static boolean isContainerNotFound(Throwable cause); static void processRpc(
        ServiceT service,
        CompletableFuture<T> result,
        CreateRequestFunc<ReqT> createRequestFunc,
        ProcessRequestFunc<ReqT, RespT, ServiceT> processRequestFunc,
        ProcessResponseFunc<RespT, T> processResponseFunc);  }### Answer:
@Test public void testIsContainerNotFound() { StatusRuntimeException trueSRE = new StatusRuntimeException(Status.NOT_FOUND); assertTrue(RpcUtils.isContainerNotFound(trueSRE)); StatusRuntimeException falseSRE = new StatusRuntimeException(Status.INTERNAL); assertFalse(RpcUtils.isContainerNotFound(falseSRE)); StatusException trueSE = new StatusException(Status.NOT_FOUND); assertTrue(RpcUtils.isContainerNotFound(trueSE)); StatusException falseSE = new StatusException(Status.INTERNAL); assertFalse(RpcUtils.isContainerNotFound(falseSE)); Exception unknownException = new Exception("unknown"); assertFalse(RpcUtils.isContainerNotFound(unknownException)); }