blob: 3627ac477bf5310044368fe8dce74b918f10b27e [file] [log] [blame]
andrewsbrown0f36eee2015-05-07 01:37:48 +01001/*
2 * jndn-mock
3 * Copyright (c) 2015, Intel Corporation.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU Lesser General Public License,
7 * version 3, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT ANY
10 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
12 * more details.
13 */
14package com.intel.jndn.mock;
15
16/**
17 *
18 * @author Andrew Brown <andrew.brown@intel.com>
19 */
20public class TestCounter {
21
22 private int count = 0;
23
24 public void inc() {
25 count++;
26 }
27
28 public int get() {
29 return count;
30 }
31}