Question: ```
  <android.support.v7.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto"
    android:id="@+id/home_subscribe_card"
    android:layout_width="match_parent"
    android:layout_height="72dp"
    android:onClick="@{vm.onGoalPress}"
    card_view:cardCornerRadius="4dp">

<android.support.v7.widget.RecyclerView
                android:id="@+id/feeds_list"
                android:layout_width="200dp"
                android:layout_height="30dp"
                android:layout_marginTop="6dp" />

</CardView>

```

The card view on Click is working .But the region of recycler view is not clickable. How can it be made clickable so that the event of card view is captured.

Answer: 
This should be,

```
it('test controller calls ng dialog when it calls openModel method', function () {
    ngDialogInstance.open();
    scope.openModal1();
    expect(scope.openModal1).toHaveBeenCalled();
    expect(ngDialogInstance.open).toHaveBeenCalled();
});

```

You have to include below line:   

```
ngDialogInstance.open();

```
In case you are wondering as to why the open function has to be called like

```
ngDialogInstance.open();

```

, it is because you need to mimic a user's interaction with the dialog such as close , open etc.