2.9.3 (latest) 2.9.2 2.8.1 2.7.2 2.6.0 2.5.1 2.4.1 2.1.2 2.0.1 1.35.2 1.34.1 1.33.4

```java
public class MockUnparsedNotificationCallback implements UnparsedNotificationCallback
```
Beta   

Mock for the [UnparsedNotificationCallback](https://docs.cloud.google.com/java/docs/reference/google-api-client/latest/com.google.api.client.googleapis.notifications.UnparsedNotificationCallback.md.txt) class.

## Inheritance

[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> MockUnparsedNotificationCallback

## Implements

[UnparsedNotificationCallback](https://docs.cloud.google.com/java/docs/reference/google-api-client/latest/com.google.api.client.googleapis.notifications.UnparsedNotificationCallback.md.txt)

## Inherited Members

[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) [Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) [Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

## Constructors

### MockUnparsedNotificationCallback()

```java
public MockUnparsedNotificationCallback()
```

## Methods

### onNotification(StoredChannel storedChannel, UnparsedNotification notification)

```java
public void onNotification(StoredChannel storedChannel, UnparsedNotification notification)
```
Handles a received unparsed notification.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `storedChannel` | `StoredChannel` |
| `notification` | `UnparsedNotification` |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `IOException` |   |

### wasCalled()

```java
public boolean wasCalled()
```
Returns whether this handler was called.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `boolean` |   |