package com.example.android.waitlist.data;

import android.provider.BaseColumns;

public class WaitlistContract {



    // completed (1) Create an inner class named WaitlistEntry class that implements the BaseColumns interface
    class waitlistEntry implements BaseColumns {

        // completed (2) Inside create a static final members for the table name and each of the db columns
        // TABLE_NAME -> waitlist;
        // COLUMN_GUEST_NAME -> guestName
        // COLUMN_PARTY_SIZE -> partySize
        // COLUMN_TIMESTAMP -> timestamp
        public static final String TABLE_NAME = "waitlist";
        public static final String COLUMN_GUEST_NAME = "guestName";
        public static final String COLUMN_PARTY_SIZE = "partySize";
        public static final String COLUMN_TIMESTAMP = "timestamp";


    }

}

package com.example.android.waitlist.data;

import android.provider.BaseColumns;

public class WaitlistContract {



    // completed (1) Create an inner class named WaitlistEntry class that implements the BaseColumns interface
    final static class waitlistEntry implements BaseColumns {

        // completed (2) Inside create a static final members for the table name and each of the db columns
        // TABLE_NAME -> waitlist;
        // COLUMN_GUEST_NAME -> guestName
        // COLUMN_PARTY_SIZE -> partySize
        // COLUMN_TIMESTAMP -> timestamp
        public static final String TABLE_NAME = "waitlist";
        public static final String COLUMN_GUEST_NAME = "guestName";
        public static final String COLUMN_PARTY_SIZE = "partySize";
        public static final String COLUMN_TIMESTAMP = "timestamp";
    }

}

fix unit test by changing inner class to final static